Creates a typed transaction payload from a transaction type and raw payload data.
NOTE: this does not check the payload structure, and thus assumes that the type and payload given actually match.
type
payload
the typed transaction payload
if the transaction type is not supported
the transaction type
the raw transaction payload
Generated using TypeDoc
Creates a typed transaction payload from a transaction type and raw payload data.
NOTE: this does not check the payload structure, and thus assumes that the
typeandpayloadgiven actually match.Returns
the typed transaction payload
Throws
if the transaction type is not supported