Runtime Pallets
EvmChainId
Build
Native API
- Install Native API
- Building with Native API
- Cookbook
- API Reference
- JSON-RPC
- Runtime Pallets
- Assets
- AssetsExt
- Authorship
- Babe
- Balances
- Dex
- Echo
- ElectionProviderMultiPhase
- Erc20Peg
- EthBridge
- Ethereum
- Evm
- EvmChainId
- FeeControl
- FeeProxy
- FuturePass
- Grandpa
- Historical
- ImOnline
- LiquidityPools
- MaintenanceMode
- Marketplace
- Multisig
- NFI
- NFT
- NftPeg
- Offences
- Preimage
- Recovery
- Proxy
- Scheduler
- Session
- Sft
- Staking
- Sudo
- System
- SyloDataVerification
- Timestamp
- TokenApprovals
- TransactionPayment
- TxFeePot
- Utility
- VortexDistribution
- VoterList
- Xls20
- XrplBridge
EVM API
- Install EVM API
- Building with EVM API
- Runtime Precompiles
- Cookbook
Runtime Pallets
EvmChainId
Calls
setChainId
Namespace
api.tx.evmChainId.setChainId
Type
function setChainId(
chain_id: Compact<u64>
)
Storage
chainId
The EVM chain ID.
Namespace
api.query.evmChainId.chainId
Type
function chainId(
): u64
Events
ChainIdSet
Namespace
api.events.evmChainId.ChainIdSet
Type
type ChainIdSet = {
param0: u64
}
undefinedundefined
Was this page helpful?
On this page