platform.getBalance
Method: POST
Copy https://flr.nownodes.io/ext/bc/P
Example body (raw )
Copy {
"jsonrpc" : "2.0" ,
"id" : 1 ,
"method" : "platform.getBalance" ,
"params" : {
"addresses" : [
"P-custom18jma8ppw3nhx5r4ap8clazz0dps7rv5u9xde7p"
]
}
}
Example response: 200
Copy {
"jsonrpc" : "2.0" ,
"error" : {
"code" : -32000 ,
"message" : "couldn't parse address \"P-custom18jma8ppw3nhx5r4ap8clazz0dps7rv5u9xde7p\": expected hrp \"flare\" but got \"custom\"" ,
"data" : null
} ,
"id" : 1
}
platform.getBlock
Method: POST
Copy https://flr.nownodes.io/ext/bc/P
Example body (raw )
Copy {
"jsonrpc" : "2.0" ,
"method" : "platform.getBlock" ,
"params" : {
"blockID" : "d7WYmb8VeZNHsny3EJCwMm6QA37s1EHwMxw1Y71V3FqPZ5EFG" ,
"encoding" : "json"
} ,
"id" : 1
}
Example response: 200
Copy {
"jsonrpc" : "2.0" ,
"error" : {
"code" : -32000 ,
"message" : "couldn't get block with id d7WYmb8VeZNHsny3EJCwMm6QA37s1EHwMxw1Y71V3FqPZ5EFG: not found" ,
"data" : null
} ,
"id" : 1
}
platform.getBlockchain
Method: POST
Copy https://flr.nownodes.io/ext/bc/P
Example body (raw )
Copy {
"jsonrpc" : "2.0" ,
"method" : "platform.getBlockchains" ,
"params" : {} ,
"id" : 1
}
Example response: 200
Copy {
"jsonrpc" : "2.0" ,
"result" : {
"blockchains" : [
{
"id" : "umkbhSrjVw5nUvy1eo25AdrjRkPBdtzAMewuxA2rqEx4YMo4c" ,
"name" : "C-Chain" ,
"subnetID" : "11111111111111111111111111111111LpoYY" ,
"vmID" : "mgj786NP7uDwBCcq6YwThhaN8FLyybkCa4zBWTQbNgmK6k9A6"
} ,
{
"id" : "fK5e6T3EniMqagBkxXjAug9EbhFDZbEzPPr4f22uwMoP5i2cJ" ,
"name" : "X-Chain" ,
"subnetID" : "11111111111111111111111111111111LpoYY" ,
"vmID" : "jvYyfQTxGMJLuGWa55kdP2p2zSUYsQ5Raupu4TW34ZAUBAbtq"
}
]
} ,
"id" : 1
}
platform.getBlockchainStatus
Method: POST
Copy https://flr.nownodes.io/ext/bc/P
Example body (raw )
Copy {
"jsonrpc" : "2.0" ,
"method" : "platform.getBlockchainStatus" ,
"params" : {
"blockchainID" : "umkbhSrjVw5nUvy1eo25AdrjRkPBdtzAMewuxA2rqEx4YMo4c"
} ,
"id" : 1
}
Example response: 200
Copy {
"jsonrpc" : "2.0" ,
"result" : {
"status" : "Syncing"
} ,
"id" : 1
}
platform.getCurrentSupply
Method: POST
Copy https://flr.nownodes.io/ext/bc/P
Example body (raw )
Copy {
"jsonrpc" : "2.0" ,
"method" : "platform.getCurrentSupply" ,
"params" : {
"subnetID" : "11111111111111111111111111111111LpoYY"
} ,
"id" : 1
}
Example response: 200
Copy {
"jsonrpc" : "2.0" ,
"result" : {
"supply" : "200000000000000"
} ,
"id" : 1
}
platform.getCurrentValidators
Method: POST
Copy https://flr.nownodes.io/ext/bc/P
Example body (raw )
Copy {
"jsonrpc" : "2.0" ,
"method" : "platform.getCurrentValidators" ,
"params" : {
"nodeIDs" : [
"NodeID-5mb46qkSBj81k9g9e4VFjGGSbaaSLFRzD"
]
} ,
"id" : 1
}
Example response: 200
Copy {
"jsonrpc" : "2.0" ,
"result" : {
"validators" : []
} ,
"id" : 1
}
platform.getHeight
Method: POST
Copy https://flr.nownodes.io/ext/bc/P
Example body (raw )
Copy {
"jsonrpc" : "2.0" ,
"method" : "platform.getHeight" ,
"params" : {} ,
"id" : 1
}
Example response: 200
Copy {
"jsonrpc" : "2.0" ,
"result" : {
"height" : "226727"
} ,
"id" : 1
}
platform.getMaxStakeAmount
Method: POST
Copy https://flr.nownodes.io/ext/bc/P
Example body (raw )
Copy {
"jsonrpc" : "2.0" ,
"method" : "platform.getMaxStakeAmount" ,
"params" : {
"subnetID" : "11111111111111111111111111111111LpoYY" ,
"nodeID" : "NodeID-LcbbZYhBHn8HVjTzPASuHtFVAckcdctWS" ,
"startTime" : 1644240334 ,
"endTime" : 1644240634
} ,
"id" : 1
}
Example response: 200
Copy {
"jsonrpc" : "2.0" ,
"error" : {
"code" : -32000 ,
"message" : "start time in the past" ,
"data" : null
} ,
"id" : 1
}
platform.getMinStake
Method: POST
Copy https://flr.nownodes.io/ext/bc/P
Example body (raw )
Copy {
"jsonrpc" : "2.0" ,
"id" : 1 ,
"method" : "platform.getMinStake" ,
"params" : {
"subnetID" : "11111111111111111111111111111111LpoYY"
}
}
Example response: 200
Copy {
"jsonrpc" : "2.0" ,
"result" : {
"minValidatorStake" : "1000000000000000" ,
"minDelegatorStake" : "50000000000000"
} ,
"id" : 1
}
platform.getPendingValidators
Method: POST
Copy https://flr.nownodes.io/ext/bc/P
Example body (raw )
Copy {
"jsonrpc" : "2.0" ,
"method" : "platform.getPendingValidators" ,
"params" : {} ,
"id" : 1
}
Example response: 200
Copy {
"jsonrpc" : "2.0" ,
"result" : {
"validators" : [] ,
"delegators" : []
} ,
"id" : 1
}
platform.getRewardUTXOs
Method: POST
Copy https://flr.nownodes.io/ext/bc/P
Example body (raw )
Copy {
"jsonrpc" : "2.0" ,
"method" : "platform.getRewardUTXOs" ,
"params" : {
"txID" : "VK9zUhU2LCHGd4LAutYKoptsWM913SK2dz7eWPjXS9g3JqD44"
} ,
"id" : 1
}
Example response: 200
Copy {
"jsonrpc" : "2.0" ,
"result" : {
"numFetched" : "0" ,
"utxos" : [] ,
"encoding" : "hex"
} ,
"id" : 1
}
platform.getStake
Method: POST
Copy https://flr.nownodes.io/ext/bc/P
Example body (raw )
Copy {
"jsonrpc" : "2.0" ,
"method" : "platform.getStake" ,
"params" : {
"addresses" : [
"P-avax1pmgmagjcljjzuz2ve339dx82khm7q8getlegte"
] ,
"validatorsOnly" : true
} ,
"id" : 1
}
Example response: 200
Copy {
"jsonrpc" : "2.0" ,
"error" : {
"code" : -32000 ,
"message" : "couldn't parse address \"P-avax1pmgmagjcljjzuz2ve339dx82khm7q8getlegte\": expected hrp \"flare\" but got \"avax\"" ,
"data" : null
} ,
"id" : 1
}
platform.getStakingAssetID
Method: POST
Copy https://flr.nownodes.io
Example body (raw )
Copy {
"jsonrpc" : "2.0" ,
"method" : "platform.getStakingAssetID" ,
"params" : {
"subnetID" : "11111111111111111111111111111111LpoYY"
} ,
"id" : 1
}
Example response: 200
Copy {
"jsonrpc" : "2.0" ,
"result" : {
"assetID" : "2MxKSeEWXViLdYyDhW1SQ46AECZEbE2bnVRZptv42JrxqyUX5k"
} ,
"id" : 1
}
platform.getSubnets
Method: POST
Copy https://flr.nownodes.io/ext/bc/P
Example body (raw )
Copy {
"jsonrpc" : "2.0" ,
"method" : "platform.getSubnets" ,
"params" : {
"ids" : [
"hW8Ma7dLMA7o4xmJf3AXBbo17bXzE7xnThUd3ypM4VAWo1sNJ"
]
} ,
"id" : 1
}
Example response: 200
Copy {
"jsonrpc" : "2.0" ,
"result" : {
"subnets" : null
} ,
"id" : 1
}
platform.getTimestamp
Method: POST
Copy https://flr.nownodes.io/ext/bc/P
Example body (raw )
Copy {
"jsonrpc" : "2.0" ,
"method" : "platform.getTimestamp" ,
"params" : {} ,
"id" : 1
}
Example response: 200
Copy {
"jsonrpc" : "2.0" ,
"result" : {
"timestamp" : "2024-04-29T13:24:31Z"
} ,
"id" : 1
}
platform.getTotalStake
Method: POST
Copy https://flr.nownodes.io/ext/bc/P
Example body (raw )
Copy {
"jsonrpc" : "2.0" ,
"method" : "platform.getTotalStake" ,
"params" : {
"subnetID" : "11111111111111111111111111111111LpoYY"
} ,
"id" : 1
}
Example response: 200
Copy {
"jsonrpc" : "2.0" ,
"result" : {
"stake" : "5124645378899551815"
} ,
"id" : 1
}
platform.getTx
Method: POST
Copy https://flr.nownodes.io/ext/bc/P
Example body (raw )
Copy {
"jsonrpc" : "2.0" ,
"method" : "platform.getTx" ,
"params" : {
"txID" : "28KVjSw5h3XKGuNpJXWY74EdnGq4TUWvCgEtJPymgQTvudiugb" ,
"encoding" : "json"
} ,
"id" : 1
}
Example response: 200
Copy {
"jsonrpc" : "2.0" ,
"error" : {
"code" : -32000 ,
"message" : "couldn't get tx: not found" ,
"data" : null
} ,
"id" : 1
}
platform.getTxStatus
Method: POST
Copy https://flr.nownodes.io/ext/bc/P
Example body (raw )
Copy {
"jsonrpc" : "2.0" ,
"method" : "platform.getTxStatus" ,
"params" : {
"txID" : "TAG9Ns1sa723mZy1GSoGqWipK6Mvpaj7CAswVJGM6MkVJDF9Q"
} ,
"id" : 1
}
Example response: 200
Copy {
"jsonrpc" : "2.0" ,
"result" : {
"status" : "Unknown"
} ,
"id" : 1
}
platform.getUTXOs
Method: POST
Copy https://flr.nownodes.io/ext/bc/P
Example body (raw )
Copy {
"jsonrpc" : "2.0" ,
"id" : 1 ,
"method" : "platform.getUTXOs" ,
"params" : {
"addresses" : [
"P-avax18jma8ppw3nhx5r4ap8clazz0dps7rv5ukulre5" ,
"P-avax1d09qn852zcy03sfc9hay2llmn9hsgnw4tp3dv6"
] ,
"limit" : 5 ,
"encoding" : "hex"
}
}
Example response: 200
Copy {
"jsonrpc" : "2.0" ,
"error" : {
"code" : -32000 ,
"message" : "couldn't parse address \"P-avax18jma8ppw3nhx5r4ap8clazz0dps7rv5ukulre5\": expected hrp \"flare\" but got \"avax\"" ,
"data" : null
} ,
"id" : 1
}
platform.getValidatorsAt
Method: POST
Copy https://flr.nownodes.io/ext/bc/P
Example body (raw )
Copy {
"jsonrpc" : "2.0" ,
"method" : "platform.getValidatorsAt" ,
"params" : {
"height" : 1
} ,
"id" : 1
}
Example response: 200
Copy {
"jsonrpc" : "2.0" ,
"result" : {
"validators" : {
"NodeID-2oZa4x84qqpdNqxKSL3PW28iex3VS1NQT" : 10000000000000 ,
"NodeID-2tpa7L26X8asp9Y5ZpRRtU61iPaooCQ9R" : 10000000000000 ,
"NodeID-4XZ7a7fGCzw6xqMFNQHy46JjUXnnq51Y1" : 10000000000000 ,
"NodeID-4Y6Hxd42SjQ4GNJHYF9GFjKEu2KAYTPDo" : 10000000000000 ,
"NodeID-5bTyYGC8rzxaQ9HFucqRM4aFwYGqT8ciA" : 10000000000000 ,
"NodeID-6FDUTBPEHQmf7S5838REhubwhfPAaJz1i" : 10000000000000 ,
"NodeID-6LWYVCBLcUKW89GXSAscosCAxhyMeoGQR" : 10000000000000 ,
"NodeID-6dBcEfrUMmhTbShvQfiqpybLmvUHtoFem" : 10000000000000 ,
"NodeID-6zMLLn4GvWRApEjAojJNgUEYHxfp2pbPi" : 10000000000000 ,
"NodeID-8bPGGqcmhxL8M7LML5sVvfKRQGDn17uPU" : 10000000000000 ,
"NodeID-95G1AziLcVNUtBHSzc8naSR1bUVvkDEyR" : 10000000000000 ,
"NodeID-Bd4G59NYc1zP9mMVf2yMzaSFA4StQuJn8" : 10000000000000 ,
"NodeID-DMAS3hKKWMydmWGmGd265EYCoV7zFWEHK" : 10000000000000 ,
"NodeID-EQkfps4HcNP5PFmEG2h9QmBT3VsRu9kKu" : 10000000000000 ,
"NodeID-FDQmoefauig76jy7wac8kP5MHdLef9p9o" : 10000000000000 ,
"NodeID-HztJLzW4WwNYteuXpZ8cC9NnZ2cHD1X3Z" : 10000000000000 ,
"NodeID-KrKGrfzP2orrkyiuacKABvyGGty3KffQw" : 10000000000000 ,
"NodeID-LQHTbb1UKdB2mzWRoJWR6ZapvNmkZzWw" : 10000000000000 ,
"NodeID-Lkwe2cpLYh3MwmbsDjuFkJ4ecx5CPxYNJ" : 10000000000000 ,
"NodeID-Lx7BqRD3LQuqZbpJzkc5UDTZb66cpez95" : 10000000000000
}
} ,
"id" : 1
}
platform.issueTx
Method: POST
Copy https://flr.nownodes.io/ext/bc/P
Example body (raw )
Copy {
"jsonrpc" : "2.0" ,
"method" : "platform.issueTx" ,
"params" : {
"tx" : "0x00000009de31b4d8b22991d51aa6aa1fc733f23a851a8c9400000000000186a0000000005f041280000000005f9ca900000030390000000000000001fceda8f90fcb5d30614b99d79fc4baa29307762668f16eb0259a57c2d3b78c875c86ec2045792d4df2d926c40f829196e0bb97ee697af71f5b0a966dabff749634c8b729855e937715b0e44303fd1014daedc752006011b730" ,
"encoding" : "hex"
} ,
"id" : 1
}
Example response: 200
Copy {
"jsonrpc" : "2.0" ,
"error" : {
"code" : -32000 ,
"message" : "couldn't parse tx: couldn't parse tx: couldn't unmarshal struct: couldn't unmarshal interface: unknown type ID 646705" ,
"data" : null
} ,
"id" : 1
}
platform.listAddresses
Method: POST
Copy https://flr.nownodes.io/ext/bc/P
Example body (raw )
Copy {
"jsonrpc" : "2.0" ,
"method" : "platform.listAddresses" ,
"params" : {
"username" : "myUsername" ,
"password" : "myPassword"
} ,
"id" : 1
}
Example response: 200
Copy {
"jsonrpc" : "2.0" ,
"error" : {
"code" : -32000 ,
"message" : "problem retrieving user \"myUsername\": incorrect password for user \"myUsername\"" ,
"data" : null
} ,
"id" : 1
}
platform.sampleValidators
Method: POST
Copy https://flr.nownodes.io/ext/bc/P
Example body (raw )
Copy {
"jsonrpc" : "2.0" ,
"id" : 1 ,
"method" : "platform.sampleValidators" ,
"params" : {
"size" : 2
}
}
Example response: 200
Copy {
"jsonrpc" : "2.0" ,
"result" : {
"validators" : [
"NodeID-KH2o8xGFLYtCwseWgRbpDAf1n4zAcMNfN" ,
"NodeID-MN7sJduRdGUs3aWyYUmym2CFVsptzgKcJ"
]
} ,
"id" : 1
}
platform.validatedBy
Method: POST
Copy https://flr.nownodes.io/ext/bc/P
Example body (raw )
Copy {
"jsonrpc" : "2.0" ,
"method" : "platform.validatedBy" ,
"params" : {
"blockchainID" : "umkbhSrjVw5nUvy1eo25AdrjRkPBdtzAMewuxA2rqEx4YMo4c"
} ,
"id" : 1
}
Example response: 200
Copy {
"jsonrpc" : "2.0" ,
"result" : {
"subnetID" : "11111111111111111111111111111111LpoYY"
} ,
"id" : 1
}
platform.validates
Method: POST
Copy https://flr.nownodes.io/ext/bc/P
Example body (raw )
Copy {
"jsonrpc" : "2.0" ,
"method" : "platform.validates" ,
"params" : {
"subnetID" : "11111111111111111111111111111111LpoYY"
} ,
"id" : 1
}
Example response: 200
Copy {
"jsonrpc" : "2.0" ,
"result" : {
"blockchainIDs" : [
"umkbhSrjVw5nUvy1eo25AdrjRkPBdtzAMewuxA2rqEx4YMo4c" ,
"fK5e6T3EniMqagBkxXjAug9EbhFDZbEzPPr4f22uwMoP5i2cJ"
]
} ,
"id" : 1
}