interface SerializeAettosParams {
    _computingMinFee?: BigNumber;
    buildTx: ((params: TxParams) => Encoded.Transaction);
    rebuildTx: ((params: any) => `tx_${string}`);
    unpackTx: (<TxType>(encodedTx:
        | `tx_${string}`
        | `pi_${string}`
        | `ss_${string}`
        | `cs_${string}`, txType?: TxType) => TxUnpacked & {
        tag: TxType;
    });
}

Other

transaction builder

Other

_computingMinFee?: BigNumber
rebuildTx: ((params: any) => `tx_${string}`)

transaction builder

buildTx: ((params: TxParams) => Encoded.Transaction)

Type declaration

unpackTx: (<TxType>(encodedTx:
    | `tx_${string}`
    | `pi_${string}`
    | `ss_${string}`
    | `cs_${string}`, txType?: TxType) => TxUnpacked & {
    tag: TxType;
})

Type declaration

    • <TxType>(encodedTx, txType?): TxUnpacked & {
          tag: TxType;
      }
    • Unpack transaction encoded as string

      Type Parameters

      • TxType extends Tag

      Parameters

      • encodedTx:
            | `tx_${string}`
            | `pi_${string}`
            | `ss_${string}`
            | `cs_${string}`

        Encoded transaction

      • OptionaltxType: TxType

        Expected transaction type

      Returns TxUnpacked & {
          tag: TxType;
      }

      Transaction params