Skip to content

Commit

Permalink
supplement some rpc examples
Browse files Browse the repository at this point in the history
  • Loading branch information
geometryolife committed Oct 30, 2024
1 parent 67f3cb1 commit b7b0c4c
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,23 @@
|-------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| DryRunTransactionResponseView | <++> |
| rooch_executeRawTransaction | <++> |
| rooch_executeViewFunction | <++> |
| rooch_executeViewFunction | `curl --location 'http://test-seed.rooch.network' --header 'Content-Type: application/json' --data '{"id": 101, "jsonrpc": "2.0", "method": "rooch_executeViewFunction", "params": [{"function_id":"0x2::timestamp::now_milliseconds", "ty_args":[], "args":[]}]}'` |
| rooch_getBalance | `curl --location 'https://main-seed.rooch.network/' --header 'Content-Type: application/json' --data '{"jsonrpc": "2.0", "method": "rooch_getBalance", "params": ["0x38e08817191d953d0037a03ffdcdc3f6cc8e673dfa73216f08747a1618fa163d", "0x3::gas_coin::RGas"], "id": 0}'` |
| rooch_getBalances | `curl --location 'https://main-seed.rooch.network/' --header 'Content-Type: application/json' --data '{"jsonrpc": "2.0", "method": "rooch_getBalances", "params": ["0x38e08817191d953d0037a03ffdcdc3f6cc8e673dfa73216f08747a1618fa163d"], "id": 0}'` |
| rooch_getChainID | `curl --location 'https://test-seed.rooch.network/' --header 'Content-Type: application/json' --data '{"jsonrpc": "2.0", "method": "rooch_getChainID", "params": [], "id": 0}'` |
| rooch_getEventsByEventHandle | <++> |
| rooch_getFieldStates | <++> |
| rooch_getModuleABI | <++> |
| rooch_getModuleABI | `curl --location 'https://main-seed.rooch.network/' --header 'Content-Type: application/json' --data '{"jsonrpc": "2.0", "method": "rooch_getModuleABI", "params": ["0x3", "timestamp"], "id": 0}'` |
| rooch_getObjectStates | <++> |
| rooch_getStates | <++> |
| rooch_getTransactionsByHash | <++> |
| rooch_getTransactionsByOrder | <++> |
| rooch_getTransactionsByOrder | `curl --location 'https://main-seed.rooch.network/' --header 'Content-Type: application/json' --data '{"jsonrpc": "2.0", "method": "rooch_getTransactionsByOrder", "params": [], "id": 0}'` |
| rooch_listFieldStates | <++> |
| rooch_listStates | <++> |
| rooch_listStates | `curl --location 'https://main-seed.rooch.network/' --header 'Content-Type: application/json' --data '{"jsonrpc": "2.0", "method": "rooch_listStates", "params": ["/resource/0x3"], "id": 0}'` |
| rooch_queryEvents | <++> |
| rooch_queryObjectStates | <++> |
| rooch_queryTransactions | <++> |
| rooch_queryTransactions | `curl --location 'https://main-seed.rooch.network/' --header 'Content-Type: application/json' --data '{"jsonrpc": "2.0", "method": "rooch_queryTransactions", "params": [{"tx_hashes":["0x33fc1e43992079b363b858efe266927642533a56183edefac8b0607edeeeeb20"]}], "id": 0}'` |
| rooch_repairIndexer | <++> |
| rooch_sendRawTransaction | <++> |
| rooch_status | <++> |
| rooch_status | `curl --location 'https://main-seed.rooch.network/' --header 'Content-Type: application/json' --data '{"jsonrpc": "2.0", "method": "rooch_status", "params": [], "id": 0}'` |
| rooch_syncStates | <++> |

0 comments on commit b7b0c4c

Please sign in to comment.