Skip to content

Commit dae3bf3

Browse files
committed
update RPC docs
1 parent ef80f00 commit dae3bf3

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

node-daemon/docs/RPC.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,41 @@ EITHER OF
347347
2) null
348348
```
349349

350+
### Method `chainstate_pool_data`
351+
352+
Returns the pool data of the pool associated with the given pool address.
353+
354+
Returns `None` (null) if the pool is not found.
355+
356+
357+
Parameters:
358+
```
359+
{ "pool_address": string }
360+
```
361+
362+
Returns:
363+
```
364+
EITHER OF
365+
1) {
366+
"pledge": {
367+
"atoms": number string,
368+
"decimal": decimal string,
369+
},
370+
"rewards": {
371+
"atoms": number string,
372+
"decimal": decimal string,
373+
},
374+
"vrf_public_key": bech32 string,
375+
"decommission_key": bech32 string,
376+
"margin_ratio_per_thousand": string,
377+
"cost_per_block": {
378+
"atoms": number string,
379+
"decimal": decimal string,
380+
},
381+
}
382+
2) null
383+
```
384+
350385
### Method `chainstate_delegation_share`
351386

352387
Given a pool defined by a pool address, and a delegation address,

0 commit comments

Comments
 (0)