We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Allow batching multiple RPC calls within the same request. The nodes are accepting the array of RPC calls and they execute them all in parallel.
from tg:
Here is an example on goerli calling balanceOf (for 2 accounts) on the DAI token contract [ { "jsonrpc": "2.0", "id": "1", "method": "starknet_call", "params": [ { "contract_address": "0x123", "entry_point_selector": "0x456", "calldata": [ "0x1" ] }, "pending" ] }, { "jsonrpc": "2.0", "id": "2", "method": "starknet_call", "params": [ { "contract_address": "0x123", "entry_point_selector": "0x456", "calldata": [ "0x2" ] }, "pending" ] } ]
Here is an example on goerli calling balanceOf (for 2 accounts) on the DAI token contract
[ { "jsonrpc": "2.0", "id": "1", "method": "starknet_call", "params": [ { "contract_address": "0x123", "entry_point_selector": "0x456", "calldata": [ "0x1" ] }, "pending" ] }, { "jsonrpc": "2.0", "id": "2", "method": "starknet_call", "params": [ { "contract_address": "0x123", "entry_point_selector": "0x456", "calldata": [ "0x2" ] }, "pending" ] } ]
The text was updated successfully, but these errors were encountered:
franciszekjob
Successfully merging a pull request may close this issue.
Feature Request
Allow batching multiple RPC calls within the same request.
The nodes are accepting the array of RPC calls and they execute them all in parallel.
from tg:
The text was updated successfully, but these errors were encountered: