URL method (pending txs)
api/v3
Request Body - Content-Type: application/json;charset=utf-8
Parameter
Required
Description
address
No
An address value to query pending transaction information
count
No
Number of most recent transactions to return
If the address has fewer transactions than count
, the returned list of transactions will be of length less than count
.GET/api/v3/tx/pending/:address?{count}
Example request without address
curl -X GET http://localhost:2442/api/v3/tx/pending \
-H 'Content-Type: application/json;charset=utf-8'
Example request without address with count
curl -X GET http://localhost:2442/api/v3/tx/pending\?count\=2 \
-H 'Content-Type: application/json;charset=utf-8'
Example request with address
curl -X GET http://localhost:2442/api/v3/tx/pending/H2hQWtyFT1dvm5o6HvuF1oHq92bbb6ZVY \
-H 'Content-Type: application/json;charset=utf-8'
Example request with address and count
curl -X GET http://localhost:2442/api/v3/tx/pending/H2hQWtyFT1dvm5o6HvuF1oHq92bbb6ZVY\?count\=3 \
-H 'Content-Type: application/json;charset=utf-8'
Last updated
Was this helpful?