request(
'GET',
'/v1/custody/transaction_by_txid/',
{
"txid": "239861be9a4afe080c359b7fe4a1d035945ec46256b1a0f44d1267c71de8ec28",
},
api_key, api_secret, host
)
{
"success": true,
"result": {
"id": "20210112173820000166329000003582",
"coin": "BTC",
"display_code": "BTC",
"description": "Bitcoin",
"decimal": 8,
"address": "19AR6YWEGbSoY8UT9Ksy9WrmrZPD5sL4Ku",
"source_address": "bc1q0qfzuge7vr5s2xkczrjkccmxemlyyn8mhx298v",
"side": "withdraw",
"amount": "80000",
"abs_amount": "0.0008",
"txid": "239861be9a4afe080c359b7fe4a1d035945ec46256b1a0f44d1267c71de8ec28",
"vout_n": 0,
"request_id": "web_send_by_user_327_1610444045047",
"status": "success",
"abs_cobo_fee": "0",
"request_created_time": 1610444045158,
"created_time": 1610445878970,
"last_time": 1610445878970,
"confirmed_num": 3,
"remark":"hello test",
"tx_detail": {
"txid": "239861be9a4afe080c359b7fe4a1d035945ec46256b1a0f44d1267c71de8ec28",
"blocknum": 665711,
"blockhash": "00000000000000000007137dde44472364eb80126b7d98c12ffb8d37ba11ad33",
"fee": 0,
"actualgas": 17812,
"gasprice": 1,
"hexstr": ""
},
"source_address_detail": "bc1q0qfzuge7vr5s2xkczrjkccmxemlyyn8mhx298v",
"memo": "",
"confirming_threshold": 3,
"fee_coin": "BTC",
"fee_amount": 50000,
"fee_decimal": 8,
"type": "external",
"tx_request_type": ""
}
}
request(
'GET',
'/v1/custody/transaction_by_txid/',
{
"txid": "239861be9a4afe080c359b7fe4a1d035945ec46256b1a0f44d1267c71de8ec28",
},
api_key, api_secret, host
)
{
"success": true,
"result": {
"id": "20210112173820000166329000003582",
"coin": "BTC",
"display_code": "BTC",
"description": "Bitcoin",
"decimal": 8,
"address": "19AR6YWEGbSoY8UT9Ksy9WrmrZPD5sL4Ku",
"source_address": "bc1q0qfzuge7vr5s2xkczrjkccmxemlyyn8mhx298v",
"side": "withdraw",
"amount": "80000",
"abs_amount": "0.0008",
"txid": "239861be9a4afe080c359b7fe4a1d035945ec46256b1a0f44d1267c71de8ec28",
"vout_n": 0,
"request_id": "web_send_by_user_327_1610444045047",
"status": "success",
"abs_cobo_fee": "0",
"request_created_time": 1610444045158,
"created_time": 1610445878970,
"last_time": 1610445878970,
"confirmed_num": 3,
"remark":"hello test",
"tx_detail": {
"txid": "239861be9a4afe080c359b7fe4a1d035945ec46256b1a0f44d1267c71de8ec28",
"blocknum": 665711,
"blockhash": "00000000000000000007137dde44472364eb80126b7d98c12ffb8d37ba11ad33",
"fee": 0,
"actualgas": 17812,
"gasprice": 1,
"hexstr": ""
},
"source_address_detail": "bc1q0qfzuge7vr5s2xkczrjkccmxemlyyn8mhx298v",
"memo": "",
"confirming_threshold": 3,
"fee_coin": "BTC",
"fee_amount": 50000,
"fee_decimal": 8,
"type": "external",
"tx_request_type": ""
}
}
Show object
| Transaction Request Type | Code |
|---|---|
| REQUEST_FROM_WEB | 100 |
| REQUEST_FROM_API | 200 |
| REQUEST_FROM_GAS_STATION | 1500 |
request(
'GET',
'/v1/custody/transaction_by_txid/',
{
"txid": "239861be9a4afe080c359b7fe4a1d035945ec46256b1a0f44d1267c71de8ec28",
},
api_key, api_secret, host
)
{
"success": true,
"result": {
"id": "20210112173820000166329000003582",
"coin": "BTC",
"display_code": "BTC",
"description": "Bitcoin",
"decimal": 8,
"address": "19AR6YWEGbSoY8UT9Ksy9WrmrZPD5sL4Ku",
"source_address": "bc1q0qfzuge7vr5s2xkczrjkccmxemlyyn8mhx298v",
"side": "withdraw",
"amount": "80000",
"abs_amount": "0.0008",
"txid": "239861be9a4afe080c359b7fe4a1d035945ec46256b1a0f44d1267c71de8ec28",
"vout_n": 0,
"request_id": "web_send_by_user_327_1610444045047",
"status": "success",
"abs_cobo_fee": "0",
"request_created_time": 1610444045158,
"created_time": 1610445878970,
"last_time": 1610445878970,
"confirmed_num": 3,
"remark":"hello test",
"tx_detail": {
"txid": "239861be9a4afe080c359b7fe4a1d035945ec46256b1a0f44d1267c71de8ec28",
"blocknum": 665711,
"blockhash": "00000000000000000007137dde44472364eb80126b7d98c12ffb8d37ba11ad33",
"fee": 0,
"actualgas": 17812,
"gasprice": 1,
"hexstr": ""
},
"source_address_detail": "bc1q0qfzuge7vr5s2xkczrjkccmxemlyyn8mhx298v",
"memo": "",
"confirming_threshold": 3,
"fee_coin": "BTC",
"fee_amount": 50000,
"fee_decimal": 8,
"type": "external",
"tx_request_type": ""
}
}
Was this page helpful?