T402 API Reference - v2.8.0
    Preparing search index...

    Interface FacilitatorCosmosSigner

    Cosmos signer interface for facilitator operations

    interface FacilitatorCosmosSigner {
        getAddresses(network: string): string[];
        queryTransaction(
            network: string,
            txHash: string,
        ): Promise<TransactionResult>;
        getBalance(
            network: string,
            address: string,
            denom: string,
        ): Promise<bigint>;
    }
    Index

    Methods

    • Get the facilitator's addresses for a network

      Parameters

      • network: string

        CAIP-2 network identifier

      Returns string[]

    • Get token balance for an address

      Parameters

      • network: string

        CAIP-2 network identifier

      • address: string

        Bech32 address

      • denom: string

        Token denomination

      Returns Promise<bigint>