RepositoryParity.io
  • Preparing search index...
  • The search index is not available
txwrapper-core
  • txwrapper-core
  • txwrapper-core/src/core/decode/decode
  • decode

Function decode

  • decode(unsignedTx, options): DecodedUnsignedTx
  • Parse the transaction information from a signing payload, an unsigned tx, or a signed tx. All integers are serialized to a base-10 string.

    Parameters

    • unsignedTx: UnsignedTransaction

      The data to parse, as an unsigned tx.

    • options: OptionsWithMeta

      Runtime-specific data used for decoding the transaction.

    Returns DecodedUnsignedTx

    • Defined in txwrapper-core/src/core/decode/decode.ts:19
  • decode(signedTx, options): DecodedSignedTx
  • Parse the transaction information from a signing payload, an unsigned tx, or a signed tx. All integers are serialized to a base-10 string.

    Parameters

    • signedTx: string

      The data to parse, as a signed tx hex string.

    • options: OptionsWithMeta

      Runtime-specific data used for decoding the transaction.

    Returns DecodedSignedTx

    • Defined in txwrapper-core/src/core/decode/decode.ts:31
  • decode(signingPayload, options): DecodedSigningPayload
  • Parse the transaction information from a signing payload, an unsigned tx, or a signed tx. All integers are serialized to a base-10 string.

    Parameters

    • signingPayload: string

      The data to parse, as a signing payload hex string.

    • options: OptionsWithMeta

      Runtime-specific data used for decoding the transaction.

    Returns DecodedSigningPayload

    • Defined in txwrapper-core/src/core/decode/decode.ts:43

Settings

Member Visibility
RepositoryParity.io
txwrapper-core
  • Loading...