@hashgraph/sdk
    Preparing search index...

    Interface Provider

    interface Provider {
        call: <RequestT, ResponseT, OutputT>(
            request: Executable<RequestT, ResponseT, OutputT>,
        ) => Promise<OutputT>;
        getAccountBalance: (
            accountId: string | AccountId,
        ) => Promise<AccountBalance>;
        getAccountInfo: (accountId: string | AccountId) => Promise<AccountInfo>;
        getAccountRecords: (
            accountId: string | AccountId,
        ) => Promise<TransactionRecord[]>;
        getLedgerId: () => null | LedgerId;
        getMirrorNetwork: () => string[];
        getNetwork: () => { [key: string]: string | AccountId };
        getTransactionReceipt: (
            transactionId: string | TransactionId,
        ) => Promise<TransactionReceipt>;
        waitForReceipt: (
            response: TransactionResponse,
        ) => Promise<TransactionReceipt>;
    }
    Index

    Properties

    call: <RequestT, ResponseT, OutputT>(
        request: Executable<RequestT, ResponseT, OutputT>,
    ) => Promise<OutputT>
    getAccountBalance: (accountId: string | AccountId) => Promise<AccountBalance>
    getAccountInfo: (accountId: string | AccountId) => Promise<AccountInfo>
    getAccountRecords: (
        accountId: string | AccountId,
    ) => Promise<TransactionRecord[]>
    getLedgerId: () => null | LedgerId
    getMirrorNetwork: () => string[]
    getNetwork: () => { [key: string]: string | AccountId }
    getTransactionReceipt: (
        transactionId: string | TransactionId,
    ) => Promise<TransactionReceipt>
    waitForReceipt: (response: TransactionResponse) => Promise<TransactionReceipt>