diff --git a/general-example-requests.md b/general-example-requests.md index bfc445b..150f37b 100644 --- a/general-example-requests.md +++ b/general-example-requests.md @@ -38,7 +38,7 @@ curl -X POST --data '{ 30282299, null ] -}' -H "Content-Type: application/json" http://localhost:8545/ +}' -H "Content-Type: application/json" https://chiado-rpc.aboutcircles.com/ ``` #### Response @@ -148,7 +148,7 @@ curl -X POST --data '{ ] }] }] -}' -H "Content-Type: application/json" http://localhost:8545/ +}' -H "Content-Type: application/json" https://chiado-rpc.aboutcircles.com/ ``` @@ -190,7 +190,7 @@ curl -X POST --data '{ ] } ] -}' -H "Content-Type: application/json" http://localhost:8545/ +}' -H "Content-Type: application/json" https://chiado-rpc.aboutcircles.com/ ``` ##### Response: @@ -320,7 +320,7 @@ curl -X POST --data '{ ] } ] -}' -H "Content-Type: application/json" http://localhost:8545/ +}' -H "Content-Type: application/json" https://chiado-rpc.aboutcircles.com/ ``` ##### Response: @@ -370,4 +370,15 @@ curl -X POST --data '{ }, "id": 1 } +``` + +### circles_events +Queries all events that involve a specific address between two block numbers. +```shell +curl -X POST --data '{ + "jsonrpc": "2.0", + "id": 1, + "method": "circles_events", + "params": ["0x389522f8f44cd5cd835d510a17b5f65f74a46468", 9000000] +}' -H "Content-Type: application/json" https://chiado-rpc.aboutcircles.com/ ``` \ No newline at end of file diff --git a/v1-example-requests.md b/v1-example-requests.md index b4aa02f..ce22a7c 100644 --- a/v1-example-requests.md +++ b/v1-example-requests.md @@ -19,7 +19,7 @@ curl -X POST --data '{ "method":"circles_getTotalBalance", "params":["0x2091e2fb4dcfed050adcdd518e57fbfea7e32e5c"], "id":1 -}' -H "Content-Type: application/json" http://localhost:8545/ +}' -H "Content-Type: application/json" https://chiado-rpc.aboutcircles.com/ ```` ##### Response: @@ -44,7 +44,7 @@ curl -X POST --data '{ "method":"circles_getTokenBalances", "params":["0x2091e2fb4dcfed050adcdd518e57fbfea7e32e5c"], "id":1 -}' -H "Content-Type: application/json" http://localhost:8545/ +}' -H "Content-Type: application/json" https://chiado-rpc.aboutcircles.com/ ``` ##### Response: @@ -78,7 +78,7 @@ curl -X POST --data '{ "method":"circles_getTrustRelations", "params":["0x2091e2fb4dcfed050adcdd518e57fbfea7e32e5c"], "id":1 -}' -H "Content-Type: application/json" http://localhost:8545/ +}' -H "Content-Type: application/json" https://chiado-rpc.aboutcircles.com/ ```` ##### Response: @@ -155,7 +155,7 @@ curl -X POST --data '{ ] } ] -}' -H "Content-Type: application/json" http://localhost:8545/ +}' -H "Content-Type: application/json" https://chiado-rpc.aboutcircles.com/ ``` ##### Response: @@ -262,7 +262,7 @@ curl -X POST --data '{ ] } ] -}' -H "Content-Type: application/json" http://localhost:8545/ +}' -H "Content-Type: application/json" https://chiado-rpc.aboutcircles.com/ ``` ##### Response: diff --git a/v2-example-requests.md b/v2-example-requests.md index 6f96abf..266f88a 100644 --- a/v2-example-requests.md +++ b/v2-example-requests.md @@ -19,7 +19,7 @@ curl -X POST --data '{ "method":"circlesV2_getTotalBalance", "params":["0xc661fe4ce147c209ea6ca66a2a2323b69791a463"], "id":1 -}' -H "Content-Type: application/json" http://localhost:8545/ +}' -H "Content-Type: application/json" https://chiado-rpc.aboutcircles.com/ ```` ##### Response: @@ -44,7 +44,7 @@ curl -X POST --data '{ "method":"circlesV2_getTokenBalances", "params":["0xc661fe4ce147c209ea6ca66a2a2323b69791a463"], "id":1 -}' -H "Content-Type: application/json" http://localhost:8545/ +}' -H "Content-Type: application/json" https://chiado-rpc.aboutcircles.com/ ``` ##### Response: @@ -123,7 +123,7 @@ curl -X POST --data '{ ] } ] -}' -H "Content-Type: application/json" http://localhost:8545/ +}' -H "Content-Type: application/json" https://chiado-rpc.aboutcircles.com/ ``` ##### Response: @@ -210,7 +210,7 @@ curl -X POST --data '{ ] } ] -}' -H "Content-Type: application/json" http://localhost:8545/ +}' -H "Content-Type: application/json" https://chiado-rpc.aboutcircles.com/ ``` ##### Response: @@ -328,7 +328,7 @@ curl -X POST --data '{ ] } ] -}' -H "Content-Type: application/json" http://localhost:8545/ +}' -H "Content-Type: application/json" https://chiado-rpc.aboutcircles.com/ ``` ##### Response: