Closed diwakergupta closed 1 year ago
We'd apply it here in the wallet https://github.com/hirosystems/wallet/issues/3629
UniSat's indexer is now open-sourced and perhaps worth a look re: this functionality https://twitter.com/unisat_wallet/status/1654136995210223616
To clarify, what their indexer does is given pre-processed data from Bitcoin in a very specific format, it can build up state on BRC-20 tokens and presumably compute things like available supply through transfers and such.
I believe publishing a BRC-20 spec similar to https://docs.ordinals.com/ will help cement the BRC-20 protocol as an authoritative standard.
Hi all, fyi, we are currently using Bestinslot.xyz indexer (https://docs.bestinslot.xyz/reference/api-reference/brc-20).
Hello everyone. The current work for BRC-20 indexing is being tracked in PR https://github.com/hirosystems/ordinals-api/pull/78. The initial plan is to support the following endpoints:
/ordinals/brc-20/tokens
Return paginated token information (ticker, max, limit, supply)/ordinals/brc-20/tokens/:ticker
Return token info for a single ticker (all details + total holders)/ordinals/brc-20/tokens/:ticker/events
Return event history for a single ticker/ordinals/brc-20/balances/:address
Return balance for an address (optionally filtered by 1 or more tickers) giving available balance, transferrable balance, overall balanceAre there any additional endpoints you'd like to see supported?
Another BRC-20 API for reference: https://docs.bestinslot.xyz/reference/api-reference/brc-20
Hi @rafaelcr , will /ordinals/brc-20/tokens/:ticker/events
map to https://brc20api.bestinslot.xyz/v1/get_brc20_activity/:tick/:filter_type/:page/:sort_type
?
Assuming that is the case, it will be great if we can further filter the data based on
inscription_id
inscription_number
old_wallet
new_wallet
Hi @rafaelcr , it will be good if we can have an endpoint that tells if a given transfer
inscription was already spent (i.e. the given inscription was already used in the past to move some balances).
Relaying from a builder in the ecosystem: "What we need from the API is a route for address balance of BRC-20 tokens. The balance of tokens is the result of ordinals inscription and transfers events. A nice to have would be a transaction history API."