Respond approval
PUT/v1/transactions/:transaction_id/respond-approval
Respond approval
This endpoint allows users to respond to a transaction approval request. Receives the ID of the transaction being approved or denied. The request body should contain the user's decision (approve or deny) and an optional signed transaction RLP string. The endpoint checks if the user has permission to approve the transaction, whether they have already responded, and performs different actions based on the user's response.
Request
Path Parameters
transaction_id uuidrequired
Transaction id
- application/json
Body
required
approval_response stringrequired
signed_tx_rlp stringnullable
Responses
- 200
- 400
- 403
- 500
Approval response sent
User already responded
- text/plain
- Schema
Schema
string
User does not have permission
- text/plain
- Schema
Schema
string
Unexpected error
- text/plain
- Schema
Schema
string
Loading...