Skip to content

Commit

Permalink
update RPC docs
Browse files Browse the repository at this point in the history
  • Loading branch information
OBorce committed Aug 7, 2024
1 parent ef80f00 commit dae3bf3
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions node-daemon/docs/RPC.md
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,41 @@ EITHER OF
2) null
```

### Method `chainstate_pool_data`

Returns the pool data of the pool associated with the given pool address.

Returns `None` (null) if the pool is not found.


Parameters:
```
{ "pool_address": string }
```

Returns:
```
EITHER OF
1) {
"pledge": {
"atoms": number string,
"decimal": decimal string,
},
"rewards": {
"atoms": number string,
"decimal": decimal string,
},
"vrf_public_key": bech32 string,
"decommission_key": bech32 string,
"margin_ratio_per_thousand": string,
"cost_per_block": {
"atoms": number string,
"decimal": decimal string,
},
}
2) null
```

### Method `chainstate_delegation_share`

Given a pool defined by a pool address, and a delegation address,
Expand Down

0 comments on commit dae3bf3

Please sign in to comment.