All files / src/endpoints/v1 v1.ts

68.42% Statements 13/19
75% Branches 6/8
45.45% Functions 5/11
68.42% Lines 13/19

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 5025x   1x         1x 1x 1x 1x       1x 1x                                     1x 1x             1x 1x         1x  
import {APIClient} from '@wharfkit/antelope'
 
export class HyperionV1APIClient {
    public history: HyperionV1HistoryAPIClient
    public chain: HyperionV1ChainAPIClient
    public trace_api: HyperionV1TraceApiClient
 
    constructor(private client: APIClient) {
        this.history = new HyperionV1HistoryAPIClient(client)
        this.chain = new HyperionV1ChainAPIClient(client)
        this.trace_api = new HyperionV1TraceApiClient(client)
    }
}
 
class HyperionV1HistoryAPIClient {
    constructor(private client: APIClient) {}
 
    async get_actions() {
        throw new Error('Method not implemented.')
    }
 
    async get_controlled_accounts() {
        throw new Error('Method not implemented.')
    }
 
    async get_key_accounts() {
        throw new Error('Method not implemented.')
    }
 
    async get_transaction() {
        throw new Error('Method not implemented.')
    }
}
 
class HyperionV1ChainAPIClient {
    constructor(private client: APIClient) {}
 
    async get_block() {
        throw new Error('Method not implemented.')
    }
}
 
class HyperionV1TraceApiClient {
    constructor(private client: APIClient) {}
 
    async get_block() {
        throw new Error('Method not implemented.')
    }
}