Get NFT Transactions
Get deposit/transfer/withdraw history
EndPoint
Header
Field | Description | Example |
---|---|---|
X-API-KEY | ApiKey | "HlkcGxbqBeaF76j4rvPaOayfPwnkQ6B6DQ6THZWbvrGxzEdulXQvOKLrRWZLnN" |
Request
Field | Description | Example |
---|---|---|
accountId | users accountId. | 10001 |
offset | (Optional) Offset number | 2 |
limit | (Optional) Number of records to return, default is 50 | 20 |
types | (Optional) default is "mint,deposit,transfer,deploy,onchain_withdrawal,offchain_withdrawal", you can use one or more of them | "mint","transfer","deposit"... |
hashes | (Optional) hash, separate by "," | |
nftData | (Optional) nft datas, separate by "," |
Response
Field | Description | Example |
---|---|---|
totalNum | total transaction number | 100 |
transactions | List[NftTxData] | / |
Model
NftTxData
Field | Description | Example |
---|---|---|
id | the transaction id | 1 |
requestId | ||
hash | layer2 hash | |
txHash | layer1 hash, the value used when it's withdraw | |
accountId | account Id | / |
owner | owner address | / |
status | status in "pending,processing,processed,received,failed" | "processed" |
nftData | layer2 nft data | / |
amount | amount | "2" |
feeTokenSymbol | fee token symbol | "LRC" |
feeAmount | fee amount | "10000000000000" |
createdAt | create timestamp | |
updatedAt | update timestamp | |
memo | memo, used when it's transfer | / |
receiverAddress | receiver address | / |
receiver | receiver account Id | |
senderAddress | sender address | / |
withdrawalInfo | WithdrawalInfo, withdraw info | / |
minterInfo | MinterInfo, minter info | |
storageInfo | / |
MinterInfo
Field | Description | Example |
---|---|---|
accountId | minter account Id | 10110 |
minter | minter address, if NFT withdraw to layer1 then deposit to layer2, the miner address is tokenAddress | |
originalMinter | original minter address, if NFT withdraw to layer1 then deposit to layer2, we'll search the original minter and fill to this value |
WithdrawalInfo
Field | Description | Example |
---|---|---|
recipient | recipient address | |
fastStatus | ||
distributeHash | layer1 hash |
StorageInfo
Field | Description | Example |
---|---|---|
accountId | account Id | 10110 |
tokenId | token Id | 32768 |
storageId | storage Id | 1 |
Last updated