Hierarchy

  • AlgorandBridge

Constructors

Properties

sdk: GlitterBridgeSDK

Methods

  • Bridging a token from Algorand to other supported network

    Parameters

    • signerAddress: string
    • toNetwork: BridgeNetworks
    • toWalletAddress: string
    • symbol: string
    • amount: number

    Returns Promise<{
        txn: Transaction;
    }[]>

  • Parameters

    • txnsArray: any

    Returns Promise<JsonRpcRequest<any[]>>

  • Parameters

    • signerAddress: string
    • symbol: string

    Returns Promise<undefined | {
        balanceBn: BigNumber;
        balanceHuman: BigNumber;
    }>

  • Getting token balances by wallet address

    Parameters

    • address: string

    Returns Promise<Map<string, {
        balanceBn: BigNumber;
        balanceHuman: BigNumber;
    }>>

  • Returns Promise<(AlgorandNativeTokenConfig | AlgorandStandardAssetConfig)[]>

  • Parameters

    • tokenSymbol: string

    Returns Promise<AlgorandNativeTokenConfig | AlgorandStandardAssetConfig>

  • Opting a new token in to the wallet

    Parameters

    • signerAddress: string
    • symbol: string

    Returns Promise<{
        txn: Transaction;
    }[]>

  • Function for checking whether the token is already opted in the wallet address.

    Parameters

    • address: string
    • symbol: string

    Returns Promise<boolean>

  • Sending Raw Transaction over the Algorand Network

    Parameters

    • rawSignedTransactions: Uint8Array[]

    Returns Promise<string>

Generated using TypeDoc