TokenPurchased on Sunpump
Tron sunpump first time buy event
Returns 10 events on Tron, where signature name is TokenPurchased: signature name, signature hash, transaction hash, timestamp, topics hash, arguments name, integer and 7 more fields.
What it returns
- signature name
- signature hash
- transaction hash
- timestamp
- topics hash
- arguments name
- integer
- string
- bool
- hex
- big integer
- value address
- from
- to
Filters
- signature name is TokenPurchased
The query
# Historical data
# This query uses the realtime dataset (the default), which holds only a
# recent window - hours to days depending on the cube.
#
# For older data add a dataset to the top-level element:
#
# Tron(dataset: combined)
#
# archive full history
# combined archive + realtime in one result
#
# Archive and combined need the historical data add-on:
# https://bitquery.io/pricing
#
# Datasets: https://docs.bitquery.io/docs/graphql/dataset/archive/
# Retention: https://docs.bitquery.io/docs/graphql/data-coverage-retention/
#
{
Tron {
Events(
where: {Log: {Signature: {Name: {is: "TokenPurchased"}}}}
limit: {count: 10}
) {
Log {
Signature {
Name
SignatureHash
}
}
Transaction {
Hash
Timestamp
}
Topics {
Hash
}
Arguments {
Name
Value {
... on EVM_ABI_Integer_Value_Arg {
integer
}
... on EVM_ABI_String_Value_Arg {
string
}
... on EVM_ABI_Boolean_Value_Arg {
bool
}
... on EVM_ABI_Bytes_Value_Arg {
hex
}
... on EVM_ABI_BigInt_Value_Arg {
bigInteger
}
... on EVM_ABI_Address_Value_Arg {
address
}
}
}
Call {
From
To
}
}
}
}
Similar queries
- PastTronUSDTApprovals Tron · Tron · Events
- destroyed_black_funds_ · Tron · Events
- v2_blacklist_events · Tron · Events
- Tron logs query example · Tron · Events
- transfer_in_tron_txn · Tron · Events