formatTransaction
Callable
Type parameters
- ReturnFormat: DataFormat = { bytes: HEX; number: BIGINT }
- TransactionType: Transaction = Transaction
Parameters
transaction: TransactionType
returnFormat: ReturnFormat = ...
options: { fillInputAndData?: boolean; transactionSchema?: ValidationSchemaInput | CustomTransactionSchema } = ...
optionalfillInputAndData: boolean
optionaltransactionSchema: ValidationSchemaInput | CustomTransactionSchema
Returns FormatType<TransactionType, ReturnFormat>