Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Cache for RgbppLatestTransactions #37

Closed
Flouse opened this issue Jul 31, 2024 · 0 comments · Fixed by #54
Closed

Add Cache for RgbppLatestTransactions #37

Flouse opened this issue Jul 31, 2024 · 0 comments · Fixed by #54
Assignees
Labels
enhancement New feature or request

Comments

@Flouse
Copy link
Contributor

Flouse commented Jul 31, 2024

curl -k -w '\n* Response time: %{time_total}s\n' 'https://testnet-api.explorer.rgbpp.io/graphql' \
  -H 'content-type: application/json' \
  --data-raw '{"query":"\n        query RgbppLatestTransactions {\n          rgbppLatestTransactions(page: 1, pageSize: 10) {\n            txs {\n              ckbTxHash\n              btcTxid\n              leapDirection\n              blockNumber\n              timestamp\n              ckbTransaction {\n                blockNumber\n                hash\n                fee\n                size\n                inputs {\n                  status {\n                    consumed\n                    txHash\n                    index\n                  }\n                  txHash\n                  index\n                  capacity\n                  lock {\n                    codeHash\n                    hashType\n                    args\n                  }\n                  xudtInfo {\n                    symbol\n                    amount\n                    decimal\n                  }\n                }\n                outputs {\n                  txHash\n                  index\n                  capacity\n                  lock {\n                    codeHash\n                    hashType\n                    args\n                  }\n                  xudtInfo {\n                    symbol\n                    amount\n                    decimal\n                  }\n                  status {\n                    consumed\n                    txHash\n                    index\n                  }\n                }\n              }\n              btcTransaction {\n                blockHeight\n                blockHash\n                txid\n                version\n                size\n                locktime\n                weight\n                fee\n                confirmed\n              }\n            }\n            total\n            pageSize\n          }\n        }\n      ","operationName":"RgbppLatestTransactions"}'
  • Response time: 4.863132s
@Flouse Flouse changed the title Add Cache for Add Cache for RgbppLatestTransactions Jul 31, 2024
@Flouse Flouse added the enhancement New feature or request label Jul 31, 2024
@ahonn ahonn linked a pull request Aug 2, 2024 that will close this issue
@ahonn ahonn closed this as completed in #54 Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants