Transaction
Preview Transaction V2
Changed onPreviews a transaction against the latest network state, and returns the preview receipt. If the node has enabled it, you may be able to also preview against recent network state.
This endpoint supports V2 transactions (and beyond). If you still need to preview V1 transactions, you should use the /preview endpoint instead.
This endpoint is effectively a proxy towards the Core API /transaction/preview-v2 endpoint. See the Core API documentation for more details.
post/transaction/preview-v2
Request
- Base URLhttps://mainnet.radixdlt.com
- URLhttps://mainnet.radixdlt.com/transaction/preview-v2
- Authnone declared
Request body
Example request
{
"preview_transaction": {
"type": "Compiled",
"preview_transaction_hex": "<sample-preview-transaction-hex>"
},
"flags": {
"use_free_credit": true,
"assume_all_signature_proofs": true,
"skip_epoch_check": true,
"disable_auth_checks": true
},
"opt_ins": {
"core_api_receipt": true,
"radix_engine_toolkit_receipt": true,
"logs": true
}
}Response
Successful Preview
Changes
- info
endpoint added
- info