Account
Loop Alliance
Transactions
Withdraw
Staking
Trading
Gas Station
Account
Transaction
Withdraw
Tss Node
Bind Auth
Gas Station
Custodial Wallet APIs
MPC Wallet APIs
Get Transactions List
This endpoint returns a list of transactions filtered by various parameters such as start and end time, transaction status, transaction type, coins, and addresses. The response is a JSON object containing a list of transactions.
≥ start time (unit: milliseconds); details of transactions whose creation times are equal to or later than this timestamp will be returned
< end time (unit: milliseconds); details of transactions whose creation times are earlier than this timestamp will be returned
sorting method; default: created_time; other option: modified_time
sorting order; options: ASC (default), DESC
coin codes; separated by commas
from address
to address
entries per page; max: 50; default: 50
request(
"GET",
"/v1/custody/mpc/list_transactions/",
{
"start_time": "",
"end_time": "",
"status": 900,
"order_by": "",
"order": "",
"transaction_type": 303,
"coins": "",
"from_address": "",
"to_address": "",
"limit": 2
},
api_key, api_secret, host
)
{
"success": true,
"result": {
"total": 28,
"transactions": [
{
"cobo_id": "20221219161751000350944000003727",
"request_id": "1671437866485",
"status": 900,
"coin_detail": {
"coin": "GETH",
"display_code": "GETH",
"description": "Ethereum Goerli Testnet",
"decimal": 18,
"can_deposit": True,
"can_withdraw": True,
"confirming_threshold": 32
},
"amount_detail": {
"amount": "10",
"abs_amount": "0.00000000000000001"
},
"fee_detail": {
"fee_coin_detail": {
"coin": "GETH",
"display_code": "GETH",
"description": "Ethereum Goerli Testnet",
"decimal": 18,
"can_deposit": True,
"can_withdraw": True,
"confirming_threshold": 32
},
"gas_price": 99609,
"gas_limit": 21000,
"fee_used": 2091789000
},
"source_addresses": null,
"from_address": "0x2a7670f4e84fe06a26ea1aa6bcdd23f03b3bbfc1",
"to_address": "0xEEACb7a5e53600c144C0b9839A834bb4b39E540c",
"tx_hash": "0x224cd23f20a8dfbbe5418871f6a32ddee4463b31e77b5090e7efff1bd8bb6b74",
"vout_n": 0,
"nonce": 0,
"confirmed_number": 32,
"replace_cobo_id": "",
"transaction_type": 303,
"operation": 100,
"block_detail": {
"block_hash": "0x5d74fb7415f10d5308599c0ca037e622da7aea75cb5e0af20d492f9d5e8150ab",
"block_height": 8162134,
"block_time": 1671438048000
},
"tx_detail": {
"tx_hash": "0x224cd23f20a8dfbbe5418871f6a32ddee4463b31e77b5090e7efff1bd8bb6b74"
},
"extra_parameters": "",
"created_time": 1671437871175,
"updated_time": 1671438549853,
"failed_reason": null,
"max_priority_fee": null,
"max_fee": null,
"approval_process": {"spender_result": 1, "spender_review_threshold": 1, "spender_status": [{"spender_person": "Cobo_Test_spender", "status": "approve"}], "spender_complete_time": 1681906749496, "approver_result": 1, "approver_review_threshold": 1, "approver_status": [{"approve_person": "Cobo_Test_approver", "status": "approve"}], "approver_complete_time": 1681906758619},
"remark": "",
"gas_station_child_id": ""
},
{
"cobo_id": "20221219192126000352912000006483",
"request_id": "test_002",
"status": 900,
"coin_detail": {
"coin": "GETH",
"display_code": "GETH",
"description": "Ethereum Goerli Testnet",
"decimal": 18,
"can_deposit": True,
"can_withdraw": True,
"confirming_threshold": 32
},
"amount_detail": {
"amount": "1",
"abs_amount": "0.000000000000000001"
},
"fee_detail": {
"fee_coin_detail": {
"coin": "GETH",
"display_code": "GETH",
"description": "Ethereum Goerli Testnet",
"decimal": 18,
"can_deposit": True,
"can_withdraw": True,
"confirming_threshold": 32
},
"gas_price": 4362985,
"gas_limit": 21000,
"fee_used": 91622685000
},
"source_addresses": null,
"from_address": "0x2a7670f4e84fe06a26ea1aa6bcdd23f03b3bbfc1",
"to_address": "0xEEACb7a5e53600c144C0b9839A834bb4b39E540c",
"tx_hash": "0x532770380f9418849782fb01f5b62189d44b999b153767fee26ade7592b89888",
"vout_n": 0,
"nonce": 1,
"confirmed_number": 33,
"replace_cobo_id": "",
"transaction_type": 303,
"operation": 0,
"block_detail": {
"block_hash": "0x779a310c97d50d8c49e417d5518132221a7052ce3dfe7df5c2857444235b98fc",
"block_height": 8162891,
"block_time": 1671449160000
},
"tx_detail": {
"tx_hash": "0x532770380f9418849782fb01f5b62189d44b999b153767fee26ade7592b89888"
},
"extra_parameters": "",
"created_time": 1671448916625,
"updated_time": 1671449659725,
"failed_reason": null,
"max_priority_fee": null,
"max_fee": null,
"approval_process": {"spender_result": 1, "spender_review_threshold": 1, "spender_status": [{"spender_person": "Cobo_Test_spender", "status": "approve"}], "spender_complete_time": 1681906749496, "approver_result": 1, "approver_review_threshold": 1, "approver_status": [{"approve_person": "Cobo_Test_approver", "status": "approve"}], "approver_complete_time": 1681906758619},
"remark": "",
"memo": "",
"gas_station_child_id": ""
}
]
}
}
Request
Status Type | Code |
---|---|
PENDING_APPROVAL | 101 |
QUEUED | 201 |
PENDING_SIGNATURE | 301 |
BROADCASTING | 401 |
BROADCAST_FAILED | 402 |
PENDING_CONFIRMATION | 403 |
CONFIRMATION | 501 |
SUCCESS | 900 |
FAILED | 901 |
only use in non-web3 wallet:
Transaction Type | Code |
---|---|
TRANSACTION_FROM_WEB | 100 |
TRANSACTION_FROM_API | 102 |
TRANSACTION_RBF_API_SPEEDUP | 103 |
TRANSACTION_RBF_WEB_SPEEDUP | 104 |
TRANSACTION_RBF_API_DROP | 105 |
TRANSACTION_RBF_WEB_DROP | 106 |
TRANSACTION_FROM_EXTERNAL | 107 |
TRANSACTION_FROM_DEPOSIT | 1000 |
only use in web3 wallet:
Transaction Type | Code |
---|---|
TYPE_MPC_WEB3_WEB | 300 |
TYPE_MPC_WEB3_MMI_TX | 301 |
TYPE_MPC_WEB3_API_TRANSACTION | 303 |
TYPE_MPC_WEB3_TRANSACTION_FROM_EXTERNAL | 307 |
TYPE_MPC_WEB3_RBF_API_SPEEDUP | 308 |
TYPE_MPC_WEB3_RBF_WEB_SPEEDUP | 309 |
TYPE_MPC_WEB3_RBF_API_DROP | 310 |
TYPE_MPC_WEB3_RBF_WEB_DROP | 311 |
TRANSACTION_FROM_DEPOSIT | 1000 |
Response
Status Type | Code |
---|---|
PENDING_APPROVAL | 101 |
QUEUED | 201 |
PENDING_SIGNATURE | 301 |
BROADCASTING | 401 |
BROADCAST_FAILED | 402 |
PENDING_CONFIRMATION | 403 |
CONFIRMATION | 501 |
SUCCESS | 900 |
FAILED | 901 |
only use in non-web3 wallet:
Transaction Type | Code |
---|---|
TRANSACTION_FROM_WEB | 100 |
TRANSACTION_FROM_API | 102 |
TRANSACTION_RBF_API_SPEEDUP | 103 |
TRANSACTION_RBF_WEB_SPEEDUP | 104 |
TRANSACTION_RBF_API_DROP | 105 |
TRANSACTION_RBF_WEB_DROP | 106 |
TRANSACTION_FROM_EXTERNAL | 107 |
TRANSACTION_FROM_DEPOSIT | 1000 |
only use in web3 wallet:
Transaction Type | Code |
---|---|
TYPE_MPC_WEB3_WEB | 300 |
TYPE_MPC_WEB3_MMI_TX | 301 |
TYPE_MPC_WEB3_API_TRANSACTION | 303 |
TYPE_MPC_WEB3_TRANSACTION_FROM_EXTERNAL | 307 |
TYPE_MPC_WEB3_RBF_API_SPEEDUP | 308 |
TYPE_MPC_WEB3_RBF_WEB_SPEEDUP | 309 |
TYPE_MPC_WEB3_RBF_API_DROP | 310 |
TYPE_MPC_WEB3_RBF_WEB_DROP | 311 |
TRANSACTION_FROM_DEPOSIT | 1000 |
request(
"GET",
"/v1/custody/mpc/list_transactions/",
{
"start_time": "",
"end_time": "",
"status": 900,
"order_by": "",
"order": "",
"transaction_type": 303,
"coins": "",
"from_address": "",
"to_address": "",
"limit": 2
},
api_key, api_secret, host
)
{
"success": true,
"result": {
"total": 28,
"transactions": [
{
"cobo_id": "20221219161751000350944000003727",
"request_id": "1671437866485",
"status": 900,
"coin_detail": {
"coin": "GETH",
"display_code": "GETH",
"description": "Ethereum Goerli Testnet",
"decimal": 18,
"can_deposit": True,
"can_withdraw": True,
"confirming_threshold": 32
},
"amount_detail": {
"amount": "10",
"abs_amount": "0.00000000000000001"
},
"fee_detail": {
"fee_coin_detail": {
"coin": "GETH",
"display_code": "GETH",
"description": "Ethereum Goerli Testnet",
"decimal": 18,
"can_deposit": True,
"can_withdraw": True,
"confirming_threshold": 32
},
"gas_price": 99609,
"gas_limit": 21000,
"fee_used": 2091789000
},
"source_addresses": null,
"from_address": "0x2a7670f4e84fe06a26ea1aa6bcdd23f03b3bbfc1",
"to_address": "0xEEACb7a5e53600c144C0b9839A834bb4b39E540c",
"tx_hash": "0x224cd23f20a8dfbbe5418871f6a32ddee4463b31e77b5090e7efff1bd8bb6b74",
"vout_n": 0,
"nonce": 0,
"confirmed_number": 32,
"replace_cobo_id": "",
"transaction_type": 303,
"operation": 100,
"block_detail": {
"block_hash": "0x5d74fb7415f10d5308599c0ca037e622da7aea75cb5e0af20d492f9d5e8150ab",
"block_height": 8162134,
"block_time": 1671438048000
},
"tx_detail": {
"tx_hash": "0x224cd23f20a8dfbbe5418871f6a32ddee4463b31e77b5090e7efff1bd8bb6b74"
},
"extra_parameters": "",
"created_time": 1671437871175,
"updated_time": 1671438549853,
"failed_reason": null,
"max_priority_fee": null,
"max_fee": null,
"approval_process": {"spender_result": 1, "spender_review_threshold": 1, "spender_status": [{"spender_person": "Cobo_Test_spender", "status": "approve"}], "spender_complete_time": 1681906749496, "approver_result": 1, "approver_review_threshold": 1, "approver_status": [{"approve_person": "Cobo_Test_approver", "status": "approve"}], "approver_complete_time": 1681906758619},
"remark": "",
"gas_station_child_id": ""
},
{
"cobo_id": "20221219192126000352912000006483",
"request_id": "test_002",
"status": 900,
"coin_detail": {
"coin": "GETH",
"display_code": "GETH",
"description": "Ethereum Goerli Testnet",
"decimal": 18,
"can_deposit": True,
"can_withdraw": True,
"confirming_threshold": 32
},
"amount_detail": {
"amount": "1",
"abs_amount": "0.000000000000000001"
},
"fee_detail": {
"fee_coin_detail": {
"coin": "GETH",
"display_code": "GETH",
"description": "Ethereum Goerli Testnet",
"decimal": 18,
"can_deposit": True,
"can_withdraw": True,
"confirming_threshold": 32
},
"gas_price": 4362985,
"gas_limit": 21000,
"fee_used": 91622685000
},
"source_addresses": null,
"from_address": "0x2a7670f4e84fe06a26ea1aa6bcdd23f03b3bbfc1",
"to_address": "0xEEACb7a5e53600c144C0b9839A834bb4b39E540c",
"tx_hash": "0x532770380f9418849782fb01f5b62189d44b999b153767fee26ade7592b89888",
"vout_n": 0,
"nonce": 1,
"confirmed_number": 33,
"replace_cobo_id": "",
"transaction_type": 303,
"operation": 0,
"block_detail": {
"block_hash": "0x779a310c97d50d8c49e417d5518132221a7052ce3dfe7df5c2857444235b98fc",
"block_height": 8162891,
"block_time": 1671449160000
},
"tx_detail": {
"tx_hash": "0x532770380f9418849782fb01f5b62189d44b999b153767fee26ade7592b89888"
},
"extra_parameters": "",
"created_time": 1671448916625,
"updated_time": 1671449659725,
"failed_reason": null,
"max_priority_fee": null,
"max_fee": null,
"approval_process": {"spender_result": 1, "spender_review_threshold": 1, "spender_status": [{"spender_person": "Cobo_Test_spender", "status": "approve"}], "spender_complete_time": 1681906749496, "approver_result": 1, "approver_review_threshold": 1, "approver_status": [{"approve_person": "Cobo_Test_approver", "status": "approve"}], "approver_complete_time": 1681906758619},
"remark": "",
"memo": "",
"gas_station_child_id": ""
}
]
}
}