This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
Stockleezy asked in Tg channel, and it's really simple to get raw info by using chaingraph:
query {
output(
limit: 10
offset: 0
where: {
token_category: {
_eq: "\\x1a05bce0af8b57e27b11e9429fc534d0fc27230fc541928f38b3ca945c4bca11"
}
_not: { spent_by: {} }
transaction: {
block_inclusions: {
block: { accepted_by: { node: { name: { _eq: "bchn-mainnet" } } } }
}
}
}
) {
transaction_hash
output_index
value_satoshis
locking_bytecode
token_category
nonfungible_token_capability
nonfungible_token_commitment
fungible_token_amount
}
}
This request should be looped and 10 added to offset
until the array in the result returns less than 10 (in this case, because the limit
is 10).
Then, the client should merge the results, and do some aggregation, like by address (locking_bytecode
can be converted to address).
Note: 0-amount FTs are prohibited, so 0 for fungible_token_amount
means the UTXO doesn't have any FTs.
BTW there's an airdrop tool which could be modified to just produce a list: https://github.com/mr-zwets/airdrop-tool
Subreddit
Post Details
- Posted
- 11 months ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/cashtokens/...