Circles API
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
POST /circlesV2_getTotalBalance HTTP/1.1
Host: rpc.aboutcircles.com/
Content-Type: application/json
Accept: */*
Content-Length: 122
{
"jsonrpc": "2.0",
"id": 1,
"method": "circlesV2_getTotalBalance",
"params": [
"0xcadd4ea3bcc361fc4af2387937d7417be8d7dfc2",
true
]
}{
"jsonrpc": "2.0",
"id": 1,
"result": "99999999999999999999999999999999999"
}POST /circlesV2_findPath HTTP/1.1
Host: rpc.aboutcircles.com/
Content-Type: application/json
Accept: */*
Content-Length: 224
{
"jsonrpc": "2.0",
"id": 0,
"method": "circlesV2_findPath",
"params": [
{
"Source": "0x749c930256b47049cb65adcd7c25e72d5de44b3b",
"Sink": "0xde374ece6fa50e781e81aac78e811b33d16912c7",
"TargetFlow": "99999999999999999999999999999999999"
}
]
}{
"jsonrpc": "2.0",
"id": 1,
"result": null
}POST /circles_query HTTP/1.1
Host: rpc.aboutcircles.com/
Content-Type: application/json
Accept: */*
Content-Length: 447
{
"jsonrpc": "2.0",
"id": 1,
"method": "circles_query",
"params": [
{
"Namespace": "V_CrcV2",
"Table": "TrustRelations",
"Columns": [],
"Filter": [
{
"Type": "Conjunction",
"ConjunctionType": "Or",
"Predicates": [
{
"Type": "FilterPredicate",
"FilterType": "Equals",
"Column": "truster",
"Value": "0xae3a29a9ff24d0e936a5579bae5c4179c4dff565"
},
{
"Type": "FilterPredicate",
"FilterType": "Equals",
"Column": "trustee",
"Value": "0xae3a29a9ff24d0e936a5579bae5c4179c4dff565"
}
]
}
],
"Order": []
}
]
}{
"jsonrpc": "2.0",
"id": 1,
"result": null
}POST /circles_events HTTP/1.1
Host: rpc.aboutcircles.com/
Content-Type: application/json
Accept: */*
Content-Length: 147
{
"jsonrpc": "2.0",
"id": 1,
"method": "circles_events",
"params": [
"0xde374ece6fa50e781e81aac78e811b33d16912c7",
38000000,
null,
[
"CrcV1_Trust"
],
null,
false
]
}{
"jsonrpc": "2.0",
"id": 1,
"result": null
}POST /circles_health HTTP/1.1
Host: rpc.aboutcircles.com/
Content-Type: application/json
Accept: */*
Content-Length: 62
{
"jsonrpc": "2.0",
"id": 1,
"method": "circles_health",
"params": []
}{
"jsonrpc": "2.0",
"id": 1,
"result": null
}POST /circles_tables HTTP/1.1
Host: rpc.aboutcircles.com/
Content-Type: application/json
Accept: */*
Content-Length: 62
{
"jsonrpc": "2.0",
"id": 0,
"method": "circles_tables",
"params": []
}{
"jsonrpc": "2.0",
"id": 1,
"result": null
}