Get pending approvals
GET/v1/transactions/pending-approval
Get pending approvals
This endpoint retrieves a list of transaction requests that are awaiting approval. It supports filtering by wallet ID, sorting, pagination, and searching within various fields such as transaction data, creation date, and user details. Additionally, it allows specifying a date range for the transactions. The response includes detailed information about each transaction, including sender and receiver details, transaction values, and associated metadata.
Request
Query Parameters
wallet_id string
Wallet id
sort_by string
Sort by
order_by string
Order by
page int32
Page
page_size int32
Page size
search string
Search
end_date date-time
End date
start_date date-time
Start date
Responses
- 200
- 400
- 404
- 500
Pending approval transactions
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- Array [
- ]
- ]
actionType stringrequired
approvers object[]nullable
email stringnullable
id uuidnullable
name stringnullable
createdAt date-timerequired
data stringnullable
deniers object[]nullable
email stringnullable
id uuidnullable
name stringnullable
from stringrequired
fromAccountApproversQuantity int32required
fromAccountChainPath stringrequired
fromAccountId uuidrequired
fromAccountName stringrequired
fromTokenCoingeckoId stringnullable
fromTokenDecimals int32nullable
fromTokenFiatValue doublenullable
fromTokenId uuidnullable
fromTokenName stringnullable
fromTokenSymbol stringnullable
fromUserId uuidnullable
fromUserName stringnullable
fromWalletOwnerId uuidrequired
gasLimit stringnullable
gasPrice stringnullable
id uuidrequired
maxFeePerGas stringnullable
maxPriorityFeePerGas stringnullable
networkId int32required
nonce stringnullable
signedTxRlp stringnullable
to stringrequired
toAccountId uuidnullable
toAccountName stringnullable
toContactAddress stringnullable
toContactAddressName stringnullable
toContactId uuidnullable
toContactName stringnullable
tokenAddress stringrequired
tokenId stringnullable
value stringnullable
[
{
"actionType": "string",
"approvers": [
{
"email": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string"
}
],
"createdAt": "2024-09-25T19:42:12.329Z",
"data": "string",
"deniers": [
{
"email": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string"
}
],
"from": "string",
"fromAccountApproversQuantity": 0,
"fromAccountChainPath": "string",
"fromAccountId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"fromAccountName": "string",
"fromTokenCoingeckoId": "string",
"fromTokenDecimals": 0,
"fromTokenFiatValue": 0,
"fromTokenId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"fromTokenName": "string",
"fromTokenSymbol": "string",
"fromUserId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"fromUserName": "string",
"fromWalletOwnerId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"gasLimit": "string",
"gasPrice": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"maxFeePerGas": "string",
"maxPriorityFeePerGas": "string",
"networkId": 0,
"nonce": "string",
"signedTxRlp": "string",
"to": "string",
"toAccountId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"toAccountName": "string",
"toContactAddress": "string",
"toContactAddressName": "string",
"toContactId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"toContactName": "string",
"tokenAddress": "string",
"tokenId": "string",
"value": "string"
}
]
Invalid wallet_id
- text/plain
- Schema
Schema
string
Wallet not found
- text/plain
- Schema
Schema
string
Unexpected error
- text/plain
- Schema
Schema
string
Loading...