platform.getStakingAssetId RPC Method
To use the platform.getStakingAssetId method on the P-Chain, ensure that the end of your URL includes ext/bc/P.
Parameters
subnetID
string
Loading...
Returns
assetID
string
Loading...
Request
Response
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"assetID": "2MxKSeEWXViLdYyDhW1SQ46AECZEbE2bnVRZptv42JrxqyUX5k"6}7}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"assetID": "2MxKSeEWXViLdYyDhW1SQ46AECZEbE2bnVRZptv42JrxqyUX5k"6}7}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free