Construction

Generate an Unsigned Transaction and Signing Payloads

Payloads is called with an array of operations and the response from /construction/metadata. It returns an unsigned transaction blob and a collection of payloads that must be signed by particular AccountIdentifiers using a certain SignatureType.

The array of operations provided in transaction construction often times can not specify all "effects" of a transaction (consider invoked transactions in Ethereum). However, they can deterministically specify the "intent" of the transaction, which is sufficient for construction. For this reason, parsing the corresponding transaction in the Data API (when it lands on chain) will contain a superset of whatever operations were provided during construction.

post/construction/payloads

Request body

network_identifierNetworkIdentifier required— unresolved $ref
operationsOperation[] required— unresolved $ref
metadataobject
public_keysPublicKey[] — unresolved $ref

Response

Expected response to a valid request

unsigned_transactionstring required
payloadsSigningPayload[] required— unresolved $ref

Changes