- buildTx<TxType, Prefix>(_params: Omit<TxTypeSchemas[TxType], "tag" | "VSN"> & { VSN?: number }, type: TxType, options?: { denomination?: AE_AMOUNT_FORMATS; excludeKeys?: string[]; prefix?: Encoding; vsn?: number }): BuiltTx<TxSchema, Prefix extends Encoding ? Prefix : Transaction>
-
Type Parameters
-
TxType extends Tag
-
Prefix
Parameters
-
_params: Omit<TxTypeSchemas[TxType], "tag" | "VSN"> & { VSN?: number }
-
type: TxType
-
options: { denomination?: AE_AMOUNT_FORMATS; excludeKeys?: string[]; prefix?: Encoding; vsn?: number } = {}
-
-
Optional
excludeKeys?: string[]
-
Optional
prefix?: Encoding
-
Optional
vsn?: number
Build transaction hash
Throws
InvalidTxParamsError
Returns
object
Returns
object.tx Base64Check transaction hash with 'tx_' prefix
Returns
object.rlpEncoded rlp encoded transaction
Returns
object.binary binary transaction