I use ‘phoenix-1’ as the chainid parameter:
https://fcd.terra.dev/v1/txs?chainId=phoenix-1
but the result is empty.
so , What is the correct URL for the terra2.0?
I use ‘phoenix-1’ as the chainid parameter:
https://fcd.terra.dev/v1/txs?chainId=phoenix-1
but the result is empty.
so , What is the correct URL for the terra2.0?
The FCD API is a centralized API made for the Finder API (https://finder.terra.money/).
It doesn’t access directly the blockchain. It accesses a centralized database made by an indexer indexing each block.
If you are building a project, avoid using the FCD and create your own indexer.
Blockchain APIs are LCD endpoints.
Here are the public LCD endpoints, feel free to query your own by using a BaaS service or your own Node.
Thanks,
but the LCD does not support /txs query.
I can only find the data on the FCD like that:
https://phoenix-fcd.terra.dev/v1/txs
Or, is there any other way to find the transaction data?
You can query Tx information using GetTxsEvent
How to watch totral supply LUNC, USTC, LUNA ?
Before fcd.terra.dev/v1/totalsupply/ust
Again, FCD is not an API you should rely on.
Thank you