Hierarchy

  • pTokensNode

Constructors

Properties

Accessors

Methods

  • Get asset info related to a particular blockchain where pNetwork should support the input symbol.

    Returns

    An AssetInfo object for the specified blockchain. Null if the specified blockchain does not support the token.

    Parameters

    • _tokenSymbol: string

      The token symbol.

    • _chainId: string

      The chain ID of the blockchain.

    Returns Promise<AssetInfo>

  • Get a native deposit address where to transfer a UTXO asset for initiating a peg-in.

    Returns

    A Promise that resolves with a NativeDepositAddress.

    Parameters

    • _originatingChainId: string

      The chain ID of the source asset.

    • _address: string

      The destination asset in the destination chain ID.

    • _destinationChainId: string

      The chain ID of the destination asset.

    Returns Promise<NativeDepositAddress>

  • Get asset info related to those blockchains where pNetwork supports the input symbol.

    Returns

    An array of AssetInfo objects for those chains where pNetwork supports the specified token.

    Parameters

    • _tokenSymbol: string

      The token symbol.

    Returns Promise<AssetInfo[]>

  • Get the transaction status related to a transaction.

    Returns

    A Promise that resolves with a TransactionStatus object related to the queried transaction.

    Parameters

    • _txHash: string

      The hash of the transaction.

    • _originatingChainId: string

      The chain ID where the transaction took place.

    Returns Promise<TransactionStatus>

Generated using TypeDoc