Paginate the transaction list
The List all transactions operation returns results one page at a time. Pagination is controlled by two separate cursor parameters,before and after, which move the page window in opposite directions. The direction parameter is unrelated to paging and only controls sort order.
after: Pages forward to the next page. Pass theaftervalue returned in thepaginationobject of the previous response.before: Pages backward to the previous page. Pass thebeforevalue returned in thepaginationobject of the previous response.
before or after. Cobo returns the first page together with a pagination object that contains the before and after cursor values you use to navigate from it. Use the limit parameter to set the number of records per page.
The
direction parameter is a separate sort control and does not move the page window. It accepts ASC (ascending, the default) or DESC (descending), and only determines the order in which records are returned. Paging forward and backward is always controlled by after and before.Pagination walkthrough
- Send the first request with no
beforeand noafterparameter. The response returns the first page and apaginationobject containingbefore,after, andtotal_count. - To move forward to the next page, send another request with
afterset to theaftervalue from the previous response. - To move backward to the previous page, send another request with
beforeset to thebeforevalue from the previous response. - When the response returns an empty
aftervalue, you have reached the end of the results. When the response returns an emptybeforevalue, you have reached the start of the results.
Cancel a transaction
Canceling a transaction stops it while it is still pending. You might want to cancel a transaction if it was initiated by mistake, if you need to modify its details, or if it no longer needs to be executed. Canceling prevents the transaction from being processed further.This operation only applies to transactions from MPC Wallets and Smart Contract Wallets.
SubmittedPendingScreeningPendingAuthorizationPendingSignature(Only when the sub-status isQueue,InsufficientBalance,InsufficientBalanceFundLocked,PendingSignerApproval,PendingSystemProcessing, orBuilt)
Replace-By-Fee (RBF) transactions
Replace-By-Fee (RBF) is a feature that allows you to replace an unconfirmed transaction with a new version that typically pays a higher transaction fee. This functionality provides flexibility to modify transactions after they are broadcast but before they are confirmed by miners. The key benefits of RBF include the ability to:- Accelerate transaction confirmation by increasing the fee.
- Cancel a pending transaction.
- Modify transaction details such as the destination address or transfer amount.
Speed up a transaction
Speeding up a transaction leverages RBF to replace the original transaction with a version with a higher fee, encouraging miners to prioritize it for faster confirmation. You might want to speed up a transaction if it is taking too long to be confirmed due to low fees. This is particularly useful in times of network congestion.This operation only applies to transactions from Custodial Wallets (Web3 Wallets), MPC Wallets and Smart Contract Wallets. It does not apply to transactions on the following chains: VET, TRON, TVET, SOL, and TON.
Broadcasting.
To speed up a transaction, use the Speed up transaction operation. This requires the transaction ID of the transaction you wish to speed up.
If you speed up a transaction from a Smart Contract Wallet, two RBF transactions will be triggered, one for the transaction from the Smart Contract Wallet, and the other for the transaction from the Delegate.
Drop a transaction
Dropping a transaction leverages RBF to replace the original transaction with a version that effectively cancels it.- For EVM chains, this RBF transaction has a transfer amount of
0and the sending address is the same as the receiving address. - For UTXO chains, this RBF transaction has a transfer amount of
0and the destination address is the same as the change address in the original transaction.
This operation only applies to transactions from Custodial Wallets (Web3 Wallets), MPC Wallets and Smart Contract Wallets. It does not apply to transactions on the following chains: VET, TRON, TVET, SOL, and TON.
Broadcasting.
To drop a transaction, use the Drop transaction operation. This requires the transaction ID of the transaction you wish to drop.
When a transaction is being dropped, any subsequent drop or speed up operations will still apply to the original transaction. For example, if a user creates Transaction A and later performs a drop operation on Transaction A using Transaction B, followed by a speed up operation on Transaction B using Transaction C, the speed up operation will still apply to Transaction A, not Transaction B.
If you drop a transaction from a Smart Contract Wallet, two RBF transactions will be triggered, one for the transaction from the Smart Contract Wallet, and the other for the transaction from the Delegate.
Cobo-defined categories
This fieldcobo_category is defined by Cobo to indicate the logical category or purpose of a transaction, helping users identify what type of operation the transaction belongs to.
Fee Station related
Fee Station transactions, including their categories, can be retrieved only through Get Fee Station transaction information and List all Fee Station transactions.
