/tokens/:identifier:/transactions
Returns a list of transactions for a specific token. Maximum size of 50 is allowed when activating flags withScResults, withOperation or withLogs
Parameters
identifier
REQUIRED(string)
- Search by token identifierfrom
OPTIONAL(string)
- Number of items to skip for the result setsize
OPTIONAL(string)
- Number of items to retrievesender
OPTIONAL :(string)
- Address of the transaction senderreceiver
OPTIONAL :(string)
- Address of the transaction receiversenderShard
OPTIONAL :(number)
- Id of the shard the sender address belongs toreceiverShard
OPTIONAL :(number)
- Id of the shard the receiver address belongs tominiBlockHash
OPTIONAL :(string)
- Filter by miniblock hashhashes
OPTIONAL :(array[string])
- Filter by a comma-separated list of transaction hashesstatus
OPTIONAL :(string)
- Status of the transaction (success / pending / invalid / fail)search
OPTIONAL :(string)
- Search in data objectfunction
:(string)
- Filter transactions by function namebefore
OPTIONAL :(number)
- Before timestampafter
OPTIONAL :(number)
- After timestamporder
OPTIONAL :(string)
- Sort order (asc/desc)withScResults
OPTIONAL :(boolean)
- Return scResults for transactionswithOperations
OPTIONAL :(boolean)
- Return operations for transactionswithLogs
OPTIONAL :(boolean)
- Return logs for transactionswithScamInfo
REQUIRED :(boolean)
Returns
txHash
:(string)
- The hash of the transactiongasLimit
:(number)
- The maximum number of gas units allocated for the transactiongasPrice
:(number)
- The gas price to be used in the scope of the transactiongasUsed
:(number)
- Is the consumed amount from the provided gas limit - the amount of gas units actually required by the Network in order to process the transactionminiBlockHash
:(string)
- Contains all transactions that have either the sender in the current shard and the receiver in another shard or the sender in a different shard and the destination in the current shardnonce:
(number)
- The account sequence numberreceiver:
(string)
- The address of the receiver (bech32 format)receiverAssets:
(object)
receiverShard
:(number)
- The shard ID allocated to the receiverround
:(number)
- fixed time duration, consistent across the network, currently decided to be 5 secondssender
:(string)
- The address of the sender (bech32 format)senderAssets
:(object)
senderShard
:(number)
- The shard ID allocated to the sendersignature
:(string)
- The Signature (hex-encoded) of the Transactionstatus
:(string)
- Transaction status (success or executed, invalid, pending, partially-executed, received, failed)value
:(string)
- The Value to transfer, as a string representation of a Big Integer (can be "0"),EGLD
timesdenomination
fee
:(string)
- Measured in EGLD, is computed with respect to the actual gas cost - broken down into its components - and the gas price per gas unit, which differs between the componentstimestamp
:(number)
- u64 formadata
:(string)
- Arbitrary information about the transaction, base64-encodedfunction
:(string)
action
:(object)
category:
(string)
name
:(string)
description
:(string)
arguments
:(object)
scamInfo
:(object)
type
:(string)
info
:(sgtring)
type
:(string)
originalTxHash
:(string)
pendingResults
:(boolean)
Example
Request
curl -X 'GET' \
'https://elrond-api.public.blastapi.io/tokens/ASTRO-91f2cc/transactions?miniBlockHash=f014daeed74a594918e84d3a3f6bd5d31c5d07a25350435bb7d27a5c0d8cf569&order=asc&withOperations=true&withScamInfo=true' \
-H 'accept: application/json'
Result
[
{
"txHash": "af01a1695a8dfebb3a419a537d6ce7b8b3a69fc2113475c69eca0ebe0ccf8a7a",
"gasLimit": 500000,
"gasPrice": 1000000000,
"gasUsed": 334000,
"miniBlockHash": "f014daeed74a594918e84d3a3f6bd5d31c5d07a25350435bb7d27a5c0d8cf569",
"nonce": 1,
"receiver": "erd13dudsfrnypmz8dqwyu8e25dgcayzhv0hghn7a5a4llmgudaf0jkqlyd9ac",
"receiverShard": 0,
"round": 7959341,
"sender": "erd1m83yu75aw6r0vmznpet78jsguww3fuqll0k2rz64saf8e6p3e24s3zrap2",
"senderShard": 1,
"signature": "8a40c45018f3a9365675c699877bf56f11e8c5e034620f5cda71dd94814873f4c79aec3d62f0f1c69520237ad86a55f2877580a24d54085a46654524cc42ff08",
"status": "success",
"value": "0",
"fee": "136000000000000",
"timestamp": 1643873646,
"data": "RVNEVFRyYW5zZmVyQDQxNTM1NDUyNGYyZDM5MzE2NjMyNjM2M0AwNTZiYzc1ZTJkNjMxMDAwMDA=",
"action": {
"category": "esdtNft",
"name": "transfer",
"description": "Transfer",
"arguments": {
"transfers": [
{
"type": "FungibleESDT",
"name": "AstroElrond",
"ticker": "ASTRO-91f2cc",
"token": "ASTRO-91f2cc",
"decimals": 18,
"value": "100000000000000000000"
}
],
"receiver": "erd13dudsfrnypmz8dqwyu8e25dgcayzhv0hghn7a5a4llmgudaf0jkqlyd9ac"
}
},
"operations": [
{
"id": "af01a1695a8dfebb3a419a537d6ce7b8b3a69fc2113475c69eca0ebe0ccf8a7a",
"action": "transfer",
"type": "esdt",
"esdtType": "FungibleESDT",
"identifier": "ASTRO-91f2cc",
"name": "AstroElrond",
"sender": "erd1m83yu75aw6r0vmznpet78jsguww3fuqll0k2rz64saf8e6p3e24s3zrap2",
"receiver": "erd13dudsfrnypmz8dqwyu8e25dgcayzhv0hghn7a5a4llmgudaf0jkqlyd9ac",
"value": "100000000000000000000",
"decimals": 18
}
]
}
]