Get PRC-20 transaction history

PRC-20 transaction history

Get the transaction history for a specific PRC-20 in a specific account.

curl --request GET \
  --url 'https://yuviapi.poxscan.io/v1/accounts/PJmmqjb1DK9TTZbQXzRQ2AuA94z4gKAPFh/transactions/prc20?limit=100&contract_address=PR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t'

Parameters:
version:The latest version v1.
address: account address,in Base58 or Hex.
only_confirmed:  true|false. if false, returns both confirmed & unconfirmed transactions; if no parameters, returns both confirmed & unconfirmed transactions. CAN NOT be used with only_unconfirmed.
only_unconfirmed: true|false. if false,returns both confirmed & unconfirmed transactions; if no parameters, returns both confirmed & unconfirmed transactions. CAN NOT be used with only_confirmed.
limit:transactions per page,default is 20, maximum is 200.
fingerprint:The fingerprint of the last transaction returned on the previous page
. When using this, other parameters and filters should remain unchanged.
contract_address:PRC20 contract address, Base58 or Hex.

//Example
//Get transactions related to PRC20 USDX on the address PJmmqjb1DK9TTZbQXzRQ2AuA94z4gKAPFh
curl --request GET \
  --url ' https://yuviapi.poxscan.io/v1/accounts/PJmmqjb1DK9TTZbQXzRQ2AuA94z4gKAPFh/transactions/prc20?limit=20&contract_address=PR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t'

Last updated