request(
'GET',
'/v1/custody/transactions_by_time_ex/',
{
"coins": "COBO_HNS",
"side": 2,
"status": 900,
"begin_time": 1699249938000,
"limit": 10,
"offset": 0,
"order": "DESC",
},
api_key, api_secret, host
)
{
"success": true,
"result": [
{
"id": "20231229164409000331925000008218",
"coin": "COBO_HNS",
"display_code": "COBO_HNS",
"description": "",
"decimal": 6,
"address": "rs1qsppf0ypx5lmjepc5s55rqwdlefk9n2saglxzm6",
"source_address": "rs1qt8f7pjuc6de5ljgtm96l2gkl4x7pq497j8qdn3",
"side": "withdraw",
"amount": "500",
"abs_amount": "0.0005",
"txid": "7d4c49b653633f65cff08932bab41e2fe594b3d90c7f1978d9e4a0eb678b7468",
"vout_n": 0,
"request_id": "IntegrationTest-854963652255465838",
"status": "success",
"abs_cobo_fee": "0",
"created_time": 1703839219000,
"last_time": 1703839450000,
"confirmed_num": 2,
"remark": "",
"tx_detail": {
"txid": "7d4c49b653633f65cff08932bab41e2fe594b3d90c7f1978d9e4a0eb678b7468",
"blocknum": 1199326,
"blockhash": "7cc460715566bd2fe2a545902ec8a52ac6ae79f28331bf58d6e07256bbb550ca",
"fee": 0,
"actualgas": 250000,
"gasprice": 1,
"hexstr": ""
},
"source_address_detail": "rs1qt8f7pjuc6de5ljgtm96l2gkl4x7pq497j8qdn3",
"memo": "",
"confirming_threshold": 2,
"fee_coin": "COBO_HNS",
"fee_amount": 550000,
"fee_decimal": 6,
"type": "external"
},
{
"id": "20231229161638000343969000005740",
"coin": "COBO_HNS",
"display_code": "COBO_HNS",
"description": "",
"decimal": 6,
"address": "rs1qsppf0ypx5lmjepc5s55rqwdlefk9n2saglxzm6",
"source_address": "rs1q5gqkxzd6g02csmv9m22450p6hw5sqmrptuanjy",
"side": "withdraw",
"amount": "500",
"abs_amount": "0.0005",
"txid": "26316634afed164e24418bf2e01daf0466407ddf14de2b928a369b5184e1fba1",
"vout_n": 0,
"request_id": "IntegrationTest-854957104955502882",
"status": "success",
"abs_cobo_fee": "0",
"created_time": 1703837659000,
"last_time": 1703837798000,
"confirmed_num": 2,
"remark": "",
"tx_detail": {
"txid": "26316634afed164e24418bf2e01daf0466407ddf14de2b928a369b5184e1fba1",
"blocknum": 1199299,
"blockhash": "1a280b2d298ed217c8a4f9dbe42ae93e70c286bbe25350d9d70009a66779deb1",
"fee": 0,
"actualgas": 250000,
"gasprice": 1,
"hexstr": ""
},
"source_address_detail": "rs1q5gqkxzd6g02csmv9m22450p6hw5sqmrptuanjy",
"memo": "",
"confirming_threshold": 2,
"fee_coin": "COBO_HNS",
"fee_amount": 550000,
"fee_decimal": 6,
"type": "external"
}
]
}
request(
'GET',
'/v1/custody/transactions_by_time_ex/',
{
"coins": "COBO_HNS",
"side": 2,
"status": 900,
"begin_time": 1699249938000,
"limit": 10,
"offset": 0,
"order": "DESC",
},
api_key, api_secret, host
)
{
"success": true,
"result": [
{
"id": "20231229164409000331925000008218",
"coin": "COBO_HNS",
"display_code": "COBO_HNS",
"description": "",
"decimal": 6,
"address": "rs1qsppf0ypx5lmjepc5s55rqwdlefk9n2saglxzm6",
"source_address": "rs1qt8f7pjuc6de5ljgtm96l2gkl4x7pq497j8qdn3",
"side": "withdraw",
"amount": "500",
"abs_amount": "0.0005",
"txid": "7d4c49b653633f65cff08932bab41e2fe594b3d90c7f1978d9e4a0eb678b7468",
"vout_n": 0,
"request_id": "IntegrationTest-854963652255465838",
"status": "success",
"abs_cobo_fee": "0",
"created_time": 1703839219000,
"last_time": 1703839450000,
"confirmed_num": 2,
"remark": "",
"tx_detail": {
"txid": "7d4c49b653633f65cff08932bab41e2fe594b3d90c7f1978d9e4a0eb678b7468",
"blocknum": 1199326,
"blockhash": "7cc460715566bd2fe2a545902ec8a52ac6ae79f28331bf58d6e07256bbb550ca",
"fee": 0,
"actualgas": 250000,
"gasprice": 1,
"hexstr": ""
},
"source_address_detail": "rs1qt8f7pjuc6de5ljgtm96l2gkl4x7pq497j8qdn3",
"memo": "",
"confirming_threshold": 2,
"fee_coin": "COBO_HNS",
"fee_amount": 550000,
"fee_decimal": 6,
"type": "external"
},
{
"id": "20231229161638000343969000005740",
"coin": "COBO_HNS",
"display_code": "COBO_HNS",
"description": "",
"decimal": 6,
"address": "rs1qsppf0ypx5lmjepc5s55rqwdlefk9n2saglxzm6",
"source_address": "rs1q5gqkxzd6g02csmv9m22450p6hw5sqmrptuanjy",
"side": "withdraw",
"amount": "500",
"abs_amount": "0.0005",
"txid": "26316634afed164e24418bf2e01daf0466407ddf14de2b928a369b5184e1fba1",
"vout_n": 0,
"request_id": "IntegrationTest-854957104955502882",
"status": "success",
"abs_cobo_fee": "0",
"created_time": 1703837659000,
"last_time": 1703837798000,
"confirmed_num": 2,
"remark": "",
"tx_detail": {
"txid": "26316634afed164e24418bf2e01daf0466407ddf14de2b928a369b5184e1fba1",
"blocknum": 1199299,
"blockhash": "1a280b2d298ed217c8a4f9dbe42ae93e70c286bbe25350d9d70009a66779deb1",
"fee": 0,
"actualgas": 250000,
"gasprice": 1,
"hexstr": ""
},
"source_address_detail": "rs1q5gqkxzd6g02csmv9m22450p6hw5sqmrptuanjy",
"memo": "",
"confirming_threshold": 2,
"fee_coin": "COBO_HNS",
"fee_amount": 550000,
"fee_decimal": 6,
"type": "external"
}
]
}
| Status Type | Code |
|---|---|
| PENDING_APPROVAL | 101 |
| SENT | 201 |
| PENDING_CONFIRMATION | 501 |
| SUCCESS | 900 |
| FAILED | 901 |
Show object
| Transaction Request Type | Code |
|---|---|
| REQUEST_FROM_WEB | 100 |
| REQUEST_FROM_API | 200 |
| REQUEST_FROM_GAS_STATION | 1500 |
request(
'GET',
'/v1/custody/transactions_by_time_ex/',
{
"coins": "COBO_HNS",
"side": 2,
"status": 900,
"begin_time": 1699249938000,
"limit": 10,
"offset": 0,
"order": "DESC",
},
api_key, api_secret, host
)
{
"success": true,
"result": [
{
"id": "20231229164409000331925000008218",
"coin": "COBO_HNS",
"display_code": "COBO_HNS",
"description": "",
"decimal": 6,
"address": "rs1qsppf0ypx5lmjepc5s55rqwdlefk9n2saglxzm6",
"source_address": "rs1qt8f7pjuc6de5ljgtm96l2gkl4x7pq497j8qdn3",
"side": "withdraw",
"amount": "500",
"abs_amount": "0.0005",
"txid": "7d4c49b653633f65cff08932bab41e2fe594b3d90c7f1978d9e4a0eb678b7468",
"vout_n": 0,
"request_id": "IntegrationTest-854963652255465838",
"status": "success",
"abs_cobo_fee": "0",
"created_time": 1703839219000,
"last_time": 1703839450000,
"confirmed_num": 2,
"remark": "",
"tx_detail": {
"txid": "7d4c49b653633f65cff08932bab41e2fe594b3d90c7f1978d9e4a0eb678b7468",
"blocknum": 1199326,
"blockhash": "7cc460715566bd2fe2a545902ec8a52ac6ae79f28331bf58d6e07256bbb550ca",
"fee": 0,
"actualgas": 250000,
"gasprice": 1,
"hexstr": ""
},
"source_address_detail": "rs1qt8f7pjuc6de5ljgtm96l2gkl4x7pq497j8qdn3",
"memo": "",
"confirming_threshold": 2,
"fee_coin": "COBO_HNS",
"fee_amount": 550000,
"fee_decimal": 6,
"type": "external"
},
{
"id": "20231229161638000343969000005740",
"coin": "COBO_HNS",
"display_code": "COBO_HNS",
"description": "",
"decimal": 6,
"address": "rs1qsppf0ypx5lmjepc5s55rqwdlefk9n2saglxzm6",
"source_address": "rs1q5gqkxzd6g02csmv9m22450p6hw5sqmrptuanjy",
"side": "withdraw",
"amount": "500",
"abs_amount": "0.0005",
"txid": "26316634afed164e24418bf2e01daf0466407ddf14de2b928a369b5184e1fba1",
"vout_n": 0,
"request_id": "IntegrationTest-854957104955502882",
"status": "success",
"abs_cobo_fee": "0",
"created_time": 1703837659000,
"last_time": 1703837798000,
"confirmed_num": 2,
"remark": "",
"tx_detail": {
"txid": "26316634afed164e24418bf2e01daf0466407ddf14de2b928a369b5184e1fba1",
"blocknum": 1199299,
"blockhash": "1a280b2d298ed217c8a4f9dbe42ae93e70c286bbe25350d9d70009a66779deb1",
"fee": 0,
"actualgas": 250000,
"gasprice": 1,
"hexstr": ""
},
"source_address_detail": "rs1q5gqkxzd6g02csmv9m22450p6hw5sqmrptuanjy",
"memo": "",
"confirming_threshold": 2,
"fee_coin": "COBO_HNS",
"fee_amount": 550000,
"fee_decimal": 6,
"type": "external"
}
]
}
Was this page helpful?