it’s possible that there may be no pending transactions for various reasons.
Firstly, it depends on whether the customer has selected the option to receive callbacks for pending transactions.
Additionally, it’s possible that the blockchain processing speed for this particular cryptocurrency is fast,so transactions are confirmed without going through a pending state.
Request
ID of the pending transaction.
Response
request successful or failed
Show object
Show object
Cobo Unique Transaction ID
Coin code (Cobo has internal symbols for each coin to ensure they are all unique)
Coin ticker symbol (not unique, changeable, for reference only)
Full name of coin (not unique, changeable, for reference only)
Deposit address
Memo for specified coins(EOS,XLM,XRP,IOST)
Source address
Separate by comma if more than one source address
Transaction type
Transaction value (Note that the value here contains decimals. For example, a BTC value of 100,000,000 here is actually 1 BTC)
Amount decimal
Transaction value (Note that this is an absolute value. If you trade 1.5 BTC, then the value is 1.5)
lute fee value. For examle, abs_cobo_fee 0.00005 means exactly 0.00005BTC
Transaction ID, which can be found on the corresponding public chain
For transactions on public blockchains that allow for multiple deposit addresses in a single transaction, this value indicates the transaction index on the corresponding public blockchain
Request ID
Transaction status. If using the 'pending_transaction' and 'pending_transaction' interfaces for querying, the status can only be 'pending'
Withdraw request creation time
Transaction creation time
Transaction success/failure time
Confirmed numbers required for a successful transaction
Confirmed numbers
Transaction remark
Fee coin code
Fee amount (Note that the value here contains decimals. For example, a BTC value of 100,000,000 here is actually 1 BTC)
Fee decimal
external, internal shows if it's a Loop tx or external(on-chain)
When a transaction is in the pending state for deposit transactions and requires auditing, "waiting_audit" is set to true. For withdraw transactions, it always returns false.
Transaction Request Type | Code |
---|---|
REQUEST_FROM_WEB | 100 |
REQUEST_FROM_API | 200 |
REQUEST_FROM_GAS_STATION | 1500 |
Copy
request(
"GET",
"/v1/custody/pending_transaction/",
{
"id": "20181114112147059335000000359061"
},
api_key, api_secret, host
)
Copy
{
"success": true,
"result": {
"id": "20181114112147059335000000359061",
"coin": "XRP",
"display_code": "XRP",
"description": "Ripple",
"address": "rfKyCMyoV6Ln2GZ7YDbrBrnXCbAyBbxRqB|1175609358",
"source_address": "rfsEqW6MTpfsedoCNZ6DfDy8r8yFENvtjE",
"side": "withdraw",
"amount": "1",
"decimal": 6,
"abs_amount": "0.000001",
"txid": "AB50566D8463CB11CE8CABC976D5A338EC5D86BE63FFC85E81CDA8B6B9918905",
"vout_n": 0,
"request_id": "IntegrationTest-575171218722709682",
"status": "pending",
"created_time": 1637333969545,
"last_time": 1637333969545,
"confirming_threshold": 1,
"confirmed_num": 0,
"waiting_audit": false,
"remark": "",
"tx_detail": {
"txid": "AB50566D8463CB11CE8CABC976D5A338EC5D86BE63FFC85E81CDA8B6B9918905",
"blocknum": 0,
"blockhash": "",
"fee": 0,
"actualgas": 0,
"gasprice": 1,
"hexstr": ""
},
"source_address_detail": "rfsEqW6MTpfsedoCNZ6DfDy8r8yFENvtjE",
"memo": "1175609358",
"type": "external"
}
}
Feel free to share your feedback to improve our documentation!