Skip to main content

platform.getMaxStakeAmount RPC Method

List the current validators of the given Subnet.

Updated on
Oct 3, 2023

platform.getMaxStakeAmount RPC Method

Parameters

subnetID
String
A Buffer or cb58string representing a subnet.
nodeID
String
A stringrepresenting ID of the node whose stake amount is required during the given duration
startTime
int
A big number denotingstart time of the duration during which stake amount of the node is required.
endTime
int
A big number denotingend time of the duration during which stake amount of the node is required.

Returns

amount
uint64
Request
1
curl --location --request POST https://docs-demo.avalanche-mainnet.quiknode.pro/ext/bc/C/rpc/ext/bc/P \
2
--header 'Content-Type: application/json' \
3
--data-raw '{
4
"jsonrpc": "2.0",
5
"method": "platform.getMaxStakeAmount",
6
"params": {
7
"subnetID":"11111111111111111111111111111111LpoYY",
8
"nodeID":"NodeID-7Xhw2mDxuDS44j42TCB6U5579esbSt3Lg",
9
"startTime": 1644240334,
10
"endTime": 1644240634
11
},
12
"id": 1
13
}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free