Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jaensen committed Jul 7, 2024
1 parent ceedb64 commit 4d9c82e
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 14 deletions.
19 changes: 15 additions & 4 deletions general-example-requests.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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/

```

Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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/
```
10 changes: 5 additions & 5 deletions v1-example-requests.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
10 changes: 5 additions & 5 deletions v2-example-requests.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 4d9c82e

Please sign in to comment.