Transaction

Preview Transaction

Previews transaction against the network. This endpoint is effectively a proxy towards the Core API /v0/transaction/preview endpoint. See the Core API documentation for more details.

post/transaction/preview

Request body

manifeststring required

A text-representation of a transaction manifest

blobs_hexstring[]

An array of hex-encoded blob data, if referenced by the manifest.

start_epoch_inclusiveinteger required

An integer between 0 and 10^10, marking the epoch at which the transaction starts being valid. If omitted, the current epoch will be used (taking into account the at_ledger_state, if specified).

end_epoch_exclusiveinteger required

An integer between 0 and 10^10, marking the epoch at which the transaction is no longer valid. If omitted, a maximum epoch (relative to the start_epoch_inclusive) will be used.

notary_is_signatoryboolean

Whether the notary should count as a signatory (defaults to false).

tip_percentageinteger required

An integer between 0 and 65535, giving the validator tip as a percentage amount. A value of 1 corresponds to a 1% fee.

nonceinteger required

An integer between 0 and 2^32 - 1, chosen to allow a unique intent to be created (to enable submitting an otherwise identical/duplicate intent).

messageobject

An optional transaction message. Only affects the costing. This type is defined in the Core API as TransactionMessage. See the Core API documentation for more details.

Response

Successful Preview

encoded_receiptstring required

Hex-encoded binary blob.

receiptobject required

This type is defined in the Core API as TransactionReceipt. See the Core API documentation for more details.

resource_changesobject[] required

Changes