v1

latestOpenAPI 3.0.02026-07-2442242189.1 KB
Transactions

GetLatestTransactionSimulation

get/v2/vaults/{vault_id}/transactions/{transaction_id}/simulations/latest

Path parameters

vault_idstring required
transaction_idstring required

Query parameters

includeReferencedResourcesboolean

Include referenced resources in the response.

Response

A successful response.

referencedResourcesobject

A mapping of the referenced resources in the message. The key is the resource name and the value is the corresponding resource.

referencedAddressesInfoobject

A mapping of the referenced addresses in the message. The key is the address and the value is the corresponding address info.

Example response

{
  "transactionSimulation": {
    "name": "vaults/1b25635a5b3f/transactions/95257c5a522f",
    "addressBalanceChanges": [
      {
        "balanceChanges": [
          {
            "asset": "assets/native.ethereum-mainnet"
          }
        ]
      }
    ]
  }
}