P-Chain
Supported JSON-RPC methods for Avalanche mainnet and fuji testnet.
Platform Chain (P-Chain):
The final chain that Avalanche offers is the p-chain (for the platform). The P-chain's function allows you to stake AVAX and serve as a validator. If you are a validator or delegating to a validator, then your AVAX rewards will be received on this chain. Note that these also differ from Ethereum-style 0x addresses and begin with a "P-avax". The trailing endpoint for P-Chain calls is:
The trailing endpoint for P-Chain calls is:
To interact with X-Chain via the JSON-RPC endpoint:
/ext/bc/P
To interact with other instances of the EVM via the JSON-RPC endpoint:
/ext/bc/blockchainID/rpc
(where "blockchainID" is the ID of the EVM chain)
Last modified 5mo ago