Skip to main content
GET
/
v1
/
custody
/
mpc
/
list_transactions
/
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

start_time
Int
≥ start time (unit: milliseconds); details of transactions whose creation times are equal to or later than this timestamp will be returned
end_time
Int
< end time (unit: milliseconds); details of transactions whose creation times are earlier than this timestamp will be returned
status
Int
Status TypeCode
PENDING_APPROVAL101
QUEUED201
PENDING_SIGNATURE301
BROADCASTING401
BROADCAST_FAILED402
PENDING_CONFIRMATION403
CONFIRMATION501
REVERTING502
SUCCESS900
FAILED901
REORG902
The 403 status indicates that the transaction has been successfully broadcast but not yet confirmed, while the 501 status indicates that the transaction has been successfully confirmed on the blockchain and is awaiting further confirmations.
order_by
String
sorting method; default: created_time; other option: modified_time
order
String
sorting order; options: ASC (default), DESC
transaction_type
Int
only use in non-web3 wallet:
Transaction TypeCode
TYPE_MPC_WEB100
TYPE_MPC_API102
TYPE_RBF_API_SPEEDUP103
TYPE_RBF_WEB_SPEEDUP104
TYPE_RBF_API_DROP105
TYPE_RBF_WEB_DROP106
TYPE_MPC_TRANSACTION_FROM_EXTERNAL107
TYPE_MPC_RESEND_WEB108
TYPE_MPC_BABYLON_STAKE500
TYPE_MPC_BABYLON_STAKE_RBF501
TYPE_FROM_DEPOSIT1000
only use in web3 wallet:
Transaction TypeCode
TYPE_MPC_WEB3_WEB300
TYPE_MPC_WEB3_MMI_TX301
TYPE_MPC_WEB3_API_TRANSACTION303
TYPE_MPC_WEB3_TRANSACTION_FROM_EXTERNAL307
TYPE_MPC_WEB3_RBF_API_SPEEDUP308
TYPE_MPC_WEB3_RBF_WEB_SPEEDUP309
TYPE_MPC_WEB3_RBF_API_DROP310
TYPE_MPC_WEB3_RBF_WEB_DROP311
TYPE_FROM_DEPOSIT1000
coins
String
coin codes; separated by commas
from_address
String
from address
to_address
String
to address
limit
Int
entries per page; max: 50; default: 50

Response

success
bool
request successful or failed
result
object[]
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": ""
      }
    ]
  }
}


Feel free to share your feedback to improve our documentation!