Simulates

Method: POST

https://algo.nownodes.io/v2/transactions

Body (raw)

{
  "txn-groups": [
    {
      "txns": [
        "<string>",
        "<string>"
      ]
    },
    {
      "txns": [
        "<string>",
        "<string>"
      ]
    }
  ],
  "allow-empty-signatures": "<boolean>",
  "allow-more-logging": "<boolean>",
  "allow-unnamed-resources": "<boolean>",
  "extra-opcode-budget": "<integer>",
  "exec-trace-config": {
    "enable": "<boolean>",
    "stack-change": "<boolean>",
    "scratch-change": "<boolean>",
    "state-change": "<boolean>"
  }
}

Response: 200

{
  "version": "<integer>",
  "last-round": "<integer>",
  "txn-groups": [
    {
      "txn-results": [
        {
          "txn-result": {
            "txn": {},
            "pool-error": "<string>",
            "asset-index": "<integer>",
            "application-index": "<integer>",
            "close-rewards": "<integer>",
            "closing-amount": "<integer>",
            "asset-closing-amount": "<integer>",
            "confirmed-round": "<integer>",
            "receiver-rewards": "<integer>",
            "sender-rewards": "<integer>",
            "local-state-delta": [
              {
                "address": "<string>",
                "delta": [
                  {
                    "key": "<string>",
                    "value": {
                      "action": "<integer>",
                      "bytes": "<string>",
                      "uint": "<integer>"
                    }
                  },
                  {
                    "key": "<string>",
                    "value": {
                      "action": "<integer>",
                      "bytes": "<string>",
                      "uint": "<integer>"
                    }
                  }
                ]
              },
              {
                "address": "<string>",
                "delta": [
                  {
                    "key": "<string>",
                    "value": {
                      "action": "<integer>",
                      "bytes": "<string>",
                      "uint": "<integer>"
                    }
                  },
                  {
                    "key": "<string>",
                    "value": {
                      "action": "<integer>",
                      "bytes": "<string>",
                      "uint": "<integer>"
                    }
                  }
                ]
              }
            ],
            "global-state-delta": [
              {
                "key": "<string>",
                "value": {
                  "action": "<integer>",
                  "bytes": "<string>",
                  "uint": "<integer>"
                }
              },
              {
                "key": "<string>",
                "value": {
                  "action": "<integer>",
                  "bytes": "<string>",
                  "uint": "<integer>"
                }
              }
            ],
            "logs": [
              "<string>",
              "<string>"
            ],
            "inner-txns": [
              {
                "value": "<Circular reference to #/components/schemas/PendingTransactionResponse detected>"
              },
              {
                "value": "<Circular reference to #/components/schemas/PendingTransactionResponse detected>"
              }
            ]
          },
          "app-budget-consumed": "<integer>",
          "logic-sig-budget-consumed": "<integer>",
          "exec-trace": {
            "approval-program-trace": [
              {
                "pc": "<integer>",
                "scratch-changes": [
                  {
                    "slot": "<integer>",
                    "new-value": {
                      "type": "<integer>",
                      "bytes": "<string>",
                      "uint": "<integer>"
                    }
                  },
                  {
                    "slot": "<integer>",
                    "new-value": {
                      "type": "<integer>",
                      "bytes": "<string>",
                      "uint": "<integer>"
                    }
                  }
                ],
                "state-changes": [
                  {
                    "operation": "<string>",
                    "app-state-type": "<string>",
                    "key": "<string>",
                    "new-value": {
                      "type": "<integer>",
                      "bytes": "<string>",
                      "uint": "<integer>"
                    },
                    "account": "<string>"
                  },
                  {
                    "operation": "<string>",
                    "app-state-type": "<string>",
                    "key": "<string>",
                    "new-value": {
                      "type": "<integer>",
                      "bytes": "<string>",
                      "uint": "<integer>"
                    },
                    "account": "<string>"
                  }
                ],
                "spawned-inners": [
                  "<integer>",
                  "<integer>"
                ],
                "stack-pop-count": "<integer>",
                "stack-additions": [
                  {
                    "type": "<integer>",
                    "bytes": "<string>",
                    "uint": "<integer>"
                  },
                  {
                    "type": "<integer>",
                    "bytes": "<string>",
                    "uint": "<integer>"
                  }
                ]
              },
              {
                "pc": "<integer>",
                "scratch-changes": [
                  {
                    "slot": "<integer>",
                    "new-value": {
                      "type": "<integer>",
                      "bytes": "<string>",
                      "uint": "<integer>"
                    }
                  },
                  {
                    "slot": "<integer>",
                    "new-value": {
                      "type": "<integer>",
                      "bytes": "<string>",
                      "uint": "<integer>"
                    }
                  }
                ],
                "state-changes": [
                  {
                    "operation": "<string>",
                    "app-state-type": "<string>",
                    "key": "<string>",
                    "new-value": {
                      "type": "<integer>",
                      "bytes": "<string>",
                      "uint": "<integer>"
                    },
                    "account": "<string>"
                  },
                  {
                    "operation": "<string>",
                    "app-state-type": "<string>",
                    "key": "<string>",
                    "new-value": {
                      "type": "<integer>",
                      "bytes": "<string>",
                      "uint": "<integer>"
                    },
                    "account": "<string>"
                  }
                ],
                "spawned-inners": [
                  "<integer>",
                  "<integer>"
                ],
                "stack-pop-count": "<integer>",
                "stack-additions": [
                  {
                    "type": "<integer>",
                    "bytes": "<string>",
                    "uint": "<integer>"
                  },
                  {
                    "type": "<integer>",
                    "bytes": "<string>",
                    "uint": "<integer>"
                  }
                ]
              }
            ],
            "approval-program-hash": "<string>",
            "clear-state-program-trace": [
              {
                "pc": "<integer>",
                "scratch-changes": [
                  {
                    "slot": "<integer>",
                    "new-value": {
                      "type": "<integer>",
                      "bytes": "<string>",
                      "uint": "<integer>"
                    }
                  },
                  {
                    "slot": "<integer>",
                    "new-value": {
                      "type": "<integer>",
                      "bytes": "<string>",
                      "uint": "<integer>"
                    }
                  }
                ],
                "state-changes": [
                  {
                    "operation": "<string>",
                    "app-state-type": "<string>",
                    "key": "<string>",
                    "new-value": {
                      "type": "<integer>",
                      "bytes": "<string>",
                      "uint": "<integer>"
                    },
                    "account": "<string>"
                  },
                  {
                    "operation": "<string>",
                    "app-state-type": "<string>",
                    "key": "<string>",
                    "new-value": {
                      "type": "<integer>",
                      "bytes": "<string>",
                      "uint": "<integer>"
                    },
                    "account": "<string>"
                  }
                ],
                "spawned-inners": [
                  "<integer>",
                  "<integer>"
                ],
                "stack-pop-count": "<integer>",
                "stack-additions": [
                  {
                    "type": "<integer>",
                    "bytes": "<string>",
                    "uint": "<integer>"
                  },
                  {
                    "type": "<integer>",
                    "bytes": "<string>",
                    "uint": "<integer>"
                  }
                ]
              },
...

Last updated