GET
/
v1
/
custody
/
pending_transactions
/
request(
    'GET',
    '/v1/custody/pending_transactions/',
    {
        "coin": "XRP",
        "side": "withdraw"
    },
    api_key, api_secret, host
)
{
  "success": true,
  "result": [
    {
        "id": "20211119225929000317830000006164",
        "coin": "XRP",
        "display_code": "XRP",
        "description": "Ripple",
        "address": "rfKyCMyoV6Ln2GZ7YDbrBrnXCbAyBbxRqB|1175609358",
        "source_address": "rfsEqW6MTpfsedoCNZ6DfDy8r8yFENvtjE",
        "side": "withdraw",
        "amount": "1",
        "decimal": 6,
        "abs_amount": "0.000001",
        "txid": "924D917E537D449408E7CBD9F6F849116EBBDA2E08509818718F1989CE78C9A3",
        "vout_n": 0,
        "request_id": "IntegrationTest-575195389281796588",
        "status": "pending",
        "created_time": 1637333969867,
        "last_time": 1637333969867,
        "confirming_threshold": 1,
        "confirmed_num": 0,
        "waiting_audit": false,
        "remark": "",
        "tx_detail": {
            "txid": "924D917E537D449408E7CBD9F6F849116EBBDA2E08509818718F1989CE78C9A3",
            "blocknum": 0,
            "blockhash": "",
            "fee": 0,
            "actualgas": 0,
            "gasprice": 1,
            "hexstr": ""
        },
        "source_address_detail": "rfsEqW6MTpfsedoCNZ6DfDy8r8yFENvtjE",
        "memo": "1175609358",
        "type": "external"
    },
    {
        "id": "20211119225929000317830000006163",
        "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"
    }
  ]
}
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

coin
String
Coin code (Does not return all currencies)
side
enum(deposit / withdraw)
Deposit/withdraw
max_id
String
The transaction history ID limit is optional. If not included, will by default return the most recent records.(cannot be used with min_id)
min_id
String
Optional. If included, the sequence will be changed to time ASC. If not included, will by default return the most recent records, time DESC.(cannot be used with max_id)
limit
Integer
Page size is optional. If not included, the default size will be 50, and the maximum size will also be 50.

Response

success
bool
request successful or failed
result
object[]