The Root Network home pagelight logodark logo
  • Start Building
  • Start Staking
Runtime Pallets
EvmChainId
Learn
Build
Participate
Pricing Sylo
Changelog
Asset Register
  • Community
  • Blog
  • Build
    • Getting Started
    • Connecting to The Root Network
    • Test Faucet
    • Curated Examples
    • Mainnet Rootscan Explorer
    • Testnet Rootscan Explorer
    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?

    EvmFeeControl
    xdiscordgithub
    Powered by Mintlify
    On this page
    • Calls
    • setChainId
    • Storage
    • chainId
    • Events
    • ChainIdSet