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

Query data through JSON-RPC methods with batch requests #33

Open
yangby-cryptape opened this issue Apr 24, 2024 · 0 comments
Open

Query data through JSON-RPC methods with batch requests #33

yangby-cryptape opened this issue Apr 24, 2024 · 0 comments

Comments

@yangby-cryptape
Copy link
Contributor

yangby-cryptape commented Apr 24, 2024

Description

Query data through JSON-RPC methods with batch requests.

Example:

curl -X POST -H "Content-Type: application/json" -d '[
    {"jsonrpc": "1.0", "method": "gettxoutproof", "params": [...], "id": 1},
    {"jsonrpc": "1.0", "method": "getblockhash", "params": [...], "id": 2}
]' http://127.0.0.1:8332/
@yangby-cryptape yangby-cryptape changed the title Batch JSON-RPC request. Query data through JSON-RPC methods with batch requests Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant