Parse a Transaction
Parse is called on both unsigned and signed transactions to understand the intent of the formulated transaction. This is run as a sanity check before signing (after /construction/payloads
) and before broadcast (after /construction/combine
).
The network_identifier specifies which network a particular object is associated with.
If a blockchain has a specific chain-id or network identifier, it should go in this field. It is up to the client to determine which network-specific identifier is mainnet or testnet.
In blockchains with sharded state, the SubNetworkIdentifier is required to query some object on a specific shard. This identifier is optional for all non-sharded blockchains.
Signed is a boolean indicating whether the transaction is signed.
This must be either the unsigned transaction blob returned by /construction/payloads
or the signed transaction blob returned by /construction/combine
.