Skip to main content
GET
/
v1
/
custody
/
transaction_by_txid
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": ""
  }
}

Documentation Index

Fetch the complete documentation index at: https://cobo.com/developers/llms.txt

Use this file to discover all available pages before exploring further.

Only successful deposit/withdraw requests will be considered as ‘Transaction’ here

Request

txid
String
required
Transaction ID, which can be found on the corresponding public chain

Response

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