Skip to main content
POST
/
proposals
/
{tenantId}
/
{proposalId}
/
approve
Approves a transaction proposal by signing it with the specified wallet tenant.
curl --request POST \
  --url https://api.example.com/proposals/{tenantId}/{proposalId}/approve \
  --header 'Content-Type: application/json' \
  --data '
{
  "proposalId": 10001,
  "walletTenantId": 2048
}
'
{
  "isSuccess": true,
  "isFailure": false,
  "error": null,
  "value": {
    "id": 42,
    "name": "Example"
  }
}

Path Parameters

tenantId
integer<int64>
required

Identifier of the tenant.

proposalId
integer<int64>
required

Identifier of the transaction proposal.

Body

application/json

Request containing the wallet tenant identifier for signing.

Request to approve a transaction proposal.

proposalId
integer<int64>

Identifier of the transaction proposal to be approved.

Example:

10001

walletTenantId
integer<int64>

Identifier of the wallet-tenant relationship performing the approval.

Example:

2048

Response

200 - application/json

Transaction proposal approved successfully.

Wrapper for API operation results containing success status, error information, and return value.

isSuccess
boolean

True if the operation completed successfully, false otherwise.

Example:

true

isFailure
boolean

True if the operation failed, false otherwise.

Example:

false

error
object

Error information returned when the operation fails.

Example:
{
"code": "ValidationError",
"message": "The request parameters failed validation.",
"info": [
"The Name field is required.",
"The Id field must be greater than 0."
]
}
value
object

The result value returned when the operation is successful.

Example:
{
"updatedRow": {
"walletTenantId": 2048,
"walletName": "Main Wallet",
"walletAddress": "0x1234567890abcdef1234567890abcdef12345678",
"activeCustodians": 2,
"approval": 2,
"status": "Approved",
"blockchainId": 137
}
}