Queue operations
Methods for creating, listing, and managing queue operations in B2BINPAY DeFi API, including multisig approvals, nonces, and execution control
Get deployment operations queue
Provide API key in X-API-Key header
UUID
123e4567-e89b-12d3-a456-426614174000Operation statuses to filter by
["PENDING","READY"]Operation types to filter by
["TEAM_CONFIG_CHANGE","REJECT"]Filter operations created after (inclusive)
Filter operations created before (inclusive)
Filter by creator address (partial match, case-insensitive)
0xabcSort order (ascending or descending)
descExample: descPossible values: Page number (starts from 1)
1Example: 1Number of items per page (max 100)
10Example: 10Queue operations retrieved
Total number of items across all pages
Current page number (starts from 1)
Number of items per page
Network-specific transaction nonce
5Invalid or missing token
[ERR_404] Deployment not found
Get detailed information about a specific operation including signature status
Provide API key in X-API-Key header
UUID
123e4567-e89b-12d3-a456-426614174000Entity ID
1234567890123456789Operation details retrieved successfully
Queue operation unique identifier
187654321987654321Operation identifier formatted as bytes32 for smart contract execution, should be used as id in smart contract operation
0x123e4567e89b12d3a45642661417400000000000000000000000000000000000Network-specific transaction nonce
5Type of operation to execute
MULTISIG_CONFIG_CHANGEPossible values: Current operation status
PENDINGPossible values: Number of signatures collected
2Blockchain transaction hash
0x5555666677778888999900001111222233334444555566667777888899990000Number of signatures required
3Whether current user has signed
falseWhether current user can sign
trueWhether operation can be executed
falseWhether current user can delete this operation (PENDING or READY status only)
trueWhether current user can create a reject operation for this nonce
trueWhether operation is blocked by earlier nonce
falseCreation timestamp
2024-01-01T00:00:00.000ZWallet address (Ethereum 0x... or Tron TVM T...)
0x1234567890123456789012345678901234567890Invalid or missing token
[ERR_404] Operation not found
Delete an operation. Only the creator can delete operations in PENDING or READY status.
Provide API key in X-API-Key header
UUID
123e4567-e89b-12d3-a456-426614174000Entity ID
1234567890123456789Operation deleted successfully
No content
Cannot delete operation: not creator or operation is already executing
Invalid or missing token
[ERR_404] Operation not found
No content
Create account multisig configuration change operation
Provide API key in X-API-Key header
UUID
123e4567-e89b-12d3-a456-426614174000Entity created successfully
Invalid input
Invalid or missing token
[ERR_404] Deployment not found
Reject operation by consuming nonce
Provide API key in X-API-Key header
UUID
123e4567-e89b-12d3-a456-426614174000Reject operation created successfully
Invalid input
Invalid or missing token
[ERR_404] Deployment not found
Submit signature for operation
Provide API key in X-API-Key header
UUID
123e4567-e89b-12d3-a456-426614174000Entity ID
1234567890123456789Signature submitted successfully
Queue operation unique identifier
187654321987654321Number of signatures collected
2Number of signatures required
3Whether operation can be executed
falseWhether current user has signed
false[ERR_400] Invalid signature provided or [ERR_409] You have already signed this operation
Invalid or missing token
[ERR_404] Operation not found
Change operation nonce and reset all collected signatures
Provide API key in X-API-Key header
UUID
123e4567-e89b-12d3-a456-426614174000Entity ID
1234567890123456789Operation nonce updated
Queue operation unique identifier
187654321987654321Operation identifier formatted as bytes32 for smart contract execution, should be used as id in smart contract operation
0x123e4567e89b12d3a45642661417400000000000000000000000000000000000Network-specific transaction nonce
5Type of operation to execute
MULTISIG_CONFIG_CHANGEPossible values: Current operation status
PENDINGPossible values: Number of signatures collected
2Blockchain transaction hash
0x5555666677778888999900001111222233334444555566667777888899990000Number of signatures required
3Whether current user has signed
falseWhether current user can sign
trueWhether operation can be executed
falseWhether current user can delete this operation (PENDING or READY status only)
trueWhether current user can create a reject operation for this nonce
trueWhether operation is blocked by earlier nonce
falseCreation timestamp
2024-01-01T00:00:00.000ZWallet address (Ethereum 0x... or Tron TVM T...)
0x1234567890123456789012345678901234567890Invalid nonce or operation status
[ERR_404] Operation not found
Sign a queue operation with a private key (EIP-712)
What is signed
Input data sources
From queue operation (API)
From deployment and network
EIP-712 typed data structure
Signing algorithm
Step 1. Build EIP-712 typed data
Step 2. Compute the EIP-712 digest
Step 3. Sign the digest with a private key
Example signature
Submit the signature to the API
Common errors when signing
Summary
Execute a READY queue operation with a private key
Preconditions
Required inputs
From API (queue operation)
From deployment and network
Build Operation.calls
Build Operation.signatures (packed bytes)
Signature format
Packing rule
Build the operations array
ABI-encode execute(operations)
Build, sign, and broadcast the Ethereum transaction
Transaction fields
Sign
Broadcast
Expected on-chain result
Common reverts and errors
Last updated
Was this helpful?

