interface SerializeAettosParams {
    _computingMinFee?: BigNumber;
    buildTx: {
        (params): Transaction;
        <E>(params, options): Generic<E>;
    };
    rebuildTx: ((params) => `tx_${string}`);
    unpackTx: (<TxType>(encodedTx, txType?) => TxUnpacked & {
        tag: TxType;
    });
}

Other

transaction builder

Other

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

Type declaration

    • (params): `tx_${string}`
    • Parameters

      • params: any

      Returns `tx_${string}`

transaction builder

buildTx: {
    (params): Transaction;
    <E>(params, options): Generic<E>;
}

Type declaration

unpackTx: (<TxType>(encodedTx, 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

      • Optional txType: TxType

        Expected transaction type

      Returns TxUnpacked & {
          tag: TxType;
      }

      Transaction params

Generated using TypeDoc