---
updatedAt: 2026-05-07T12:29:32.000Z
agentTools:
  projectIndex: https://docs.utila.io/llms.txt
---

# VoteOnTransactionRequest

Vote on a transaction request.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Utila API",
    "version": "v2"
  },
  "tags": [
    {
      "name": "Transactions"
    }
  ],
  "paths": {
    "/v2/vaults/{vault_id}/transactionRequests/{transaction_request_id}:vote": {
      "post": {
        "summary": "VoteOnTransactionRequest",
        "description": "Vote on a transaction request.",
        "operationId": "Transactions_VoteOnTransactionRequest",
        "responses": {
          "200": {
            "description": "A successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/v2VoteOnTransactionRequestResponse"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "vault_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "transaction_request_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TransactionsVoteOnTransactionRequestBody"
              }
            }
          },
          "required": true
        },
        "tags": [
          "Transactions"
        ]
      }
    }
  },
  "servers": [
    {
      "url": "https://api.utila.io"
    }
  ],
  "components": {
    "schemas": {
      "TransactionsVoteOnTransactionRequestBody": {
        "type": "object",
        "properties": {
          "vote": {
            "$ref": "#/components/schemas/v2VoteOnTransactionRequestRequestVote"
          }
        },
        "required": [
          "vote"
        ]
      },
      "v2TransactionStateEnum": {
        "type": "string",
        "enum": [
          "AWAITING_APPROVAL",
          "AWAITING_AML_POLICY_CHECK",
          "DECLINED_BY_AML_POLICY",
          "AWAITING_POLICY_CHECK",
          "AWAITING_SIGNATURE",
          "SIGNED",
          "AWAITING_PUBLISH",
          "PUBLISHED",
          "MINED",
          "MINED_FAILED",
          "FAILED",
          "DECLINED",
          "REPLACED",
          "CANCELED",
          "DROPPED",
          "CONFIRMED",
          "EXPIRED",
          "AWAITING_BUNDLE_APPROVAL"
        ],
        "description": "The state of the transaction.\n\n - AWAITING_APPROVAL: Transaction requires approving votes.\n - AWAITING_AML_POLICY_CHECK: The transaction is waiting for the AML policy check to be completed.\nRelevant only for outgoing transactions.\n - DECLINED_BY_AML_POLICY: Transaction was declined by the AML policy Relevant only for outgoing transactions.\n - AWAITING_POLICY_CHECK: Transaction is waiting for the policy check to be completed.\n - AWAITING_SIGNATURE: Transaction is approved and ready to be signed.\n - SIGNED: Transaction is signed but not yet published.\n - AWAITING_PUBLISH: Transaction has been sent to the publishing queue.\n - PUBLISHED: Transaction has been published to the blockchain's mem-pool.\n - MINED: Transaction has been included in a block successfully.\n - MINED_FAILED: Transaction has entered a block but in a failed state (e.g. a failed smart contract call).\n - FAILED: Transaction has entered a block but in a failed state and was confirmed as such by multiple blocks\n - DECLINED: Transaction was declined by a policy check.\n - REPLACED: Transaction was replaced by a new transaction (same nonce or RBF).\n - CANCELED: Transaction was canceled by its initiator or by an admin.\n - DROPPED: Transaction was dropped by the network without being included in a block.\n - CONFIRMED: Transaction has been confirmed by multiple blocks in the blockchain.\n - EXPIRED: Transaction was expired after a certain amount of time.\n - AWAITING_BUNDLE_APPROVAL: Approved bundle member waiting for sibling approvals; cannot be signed."
      },
      "v2VoteOnTransactionRequestRequestVote": {
        "type": "string",
        "enum": [
          "APPROVE",
          "DENY"
        ],
        "description": "The vote to cast on the transaction request."
      },
      "v2VoteOnTransactionRequestResponse": {
        "type": "object",
        "properties": {
          "transactionState": {
            "$ref": "#/components/schemas/v2TransactionStateEnum"
          }
        }
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  },
  "security": [
    {
      "bearerAuth": []
    }
  ]
}
```