BIFROST Network
  • Introduction
  • Bifrost Network Architecture
    • Consensus
    • Cross-Chain Communication Protocol (CCCP)
    • Oracle Service
  • Running a Node
    • Basic-Node Requirements
    • Full-Node Requirements
    • Validator Account Management
    • Guide for Operators
      • Setting up an Endpoint Node
        • Using Docker
        • Using Systemd
      • Setting up a Validator Node
        • Using Docker
        • Using Systemd
      • Setting up a Relayer
        • bifrost-relayer.rs
        • bifrost-relayer.py (Deprecated)
      • Chain Data Snapshots
      • Trouble Shooting
        • Testnet Chain Sync Issue
    • System Monitoring
      • Prometheus and Grafana
      • Sentry
  • Nominators
  • Developer Documentations
    • Ethereum API
      • Ethereum Precompiled Contracts
      • Libraries
      • Developer Environments
    • Bifrost Precompiled Contracts
      • Staking
      • Governance
      • RelayManager
    • Pallet Interfaces
      • BfcStaking
      • BfcUtility
      • BfcOffences
      • RelayManager
    • Client API
      • JSON-RPC API
        • author
        • chain
        • childstate
        • debug
        • eth
        • grandpa
        • net
        • offchain
        • payment
        • rpc
        • state
        • system
        • trace
        • txpool
        • web3
      • Explorer API
      • Runtime API
    • Cross-Chain Transaction and Oracle API
      • Price Oracle Contract API
      • Socket Contract API
    • Testnet Faucet
  • Governance
  • Security
  • Tokens & Assets
    • Unified Token
    • Inflation Model
  • Add Network
    • Pockie
    • MetaMask
  • Bridge
    • Bridge Guide
      • Depositing to the Bifrost Network
      • Withdrawing to another network
    • Glossary
  • Staking
    • Staking Guide
      • Stake BFC
      • Unstake BFC
    • Glossary
      • All Validators
      • My Staking Status
  • Language
    • 바이프로스트 네트워크 가이드
Powered by GitBook
On this page
  • accountNextIndex(accountId: AccountId): Index
  • addLogFilter(directives: Text): Null
  • addReservedPeer(peer: Text): Text
  • chain(): Text
  • chainType(): ChainType
  • dryRun(extrinsic: Bytes, at?: BlockHash): ApplyExtrinsicResult
  • health(): Health
  • localListenAddresses(): Vec<Text>
  • localPeerId(): Text
  • name(): Text
  • nodeRoles(): Vec<NodeRole>
  • peers(): Vec<PeerInfo>
  • properties(): ChainProperties
  • removeReservedPeer(peerId: Text): Text
  • reservedPeers(): Vec<Text>
  • resetLogFilter(): Null
  • syncState(): SyncState
  • version(): Text
  1. Developer Documentations
  2. Client API
  3. JSON-RPC API

system

accountNextIndex(accountId: AccountId): Index

  • interface: api.rpc.system.accountNextIndex

  • jsonrpc: system_accountNextIndex

  • summary: Retrieves the next accountIndex as available on the node.

addLogFilter(directives: Text): Null

  • interface: api.rpc.system.addLogFilter

  • jsonrpc: system_addLogFilter

  • summary: Adds the supplied directives to the current log filter.

addReservedPeer(peer: Text): Text

  • interface: api.rpc.system.addReservedPeer

  • jsonrpc: system_addReservedPeer

  • summary: Adds a reserved peer.

chain(): Text

  • interface: api.rpc.system.chain

  • jsonrpc: system_chain

  • summary: Retrieves the chain.

chainType(): ChainType

  • interface: api.rpc.system.chainType

  • jsonrpc: system_chainType

  • summary: Retrieves the chain type.

dryRun(extrinsic: Bytes, at?: BlockHash): ApplyExtrinsicResult

  • interface: api.rpc.system.dryRun

  • jsonrpc: system_dryRun (alias=system_dryRunAt)

  • summary: Dry runs an extrinsic at a given block.

health(): Health

  • interface: api.rpc.system.health

  • jsonrpc: system_health

  • summary: Returns the health status of the node.

localListenAddresses(): Vec<Text>

  • interface: api.rpc.system.localListenAddresses

  • jsonrpc: system_localListenAddresses

  • summary: The addresses include a trailing /p2p/ with the local PeerId, and are thus suitable to be passed to addReservedPeer or as a bootnode address for example.

localPeerId(): Text

  • interface: api.rpc.system.localPeerId

  • jsonrpc: system_localPeerId

  • summary: Returns the base58-encoded PeerId of the node.

name(): Text

  • interface: api.rpc.system.name

  • jsonrpc: system_name

  • summary: Retrieves the node name.

nodeRoles(): Vec<NodeRole>

  • interface: api.rpc.system.nodeRoles

  • jsonrpc: system_nodeRoles

  • summary: Returns the roles the node is running as.

peers(): Vec<PeerInfo>

  • interface: api.rpc.system.peers

  • jsonrpc: system_peers

  • summary: Returns the currently connected peers.

properties(): ChainProperties

  • interface: api.rpc.system.properties

  • jsonrpc: system_properties

  • summary: Gets a custom set of properties as a JSON object, defined in the chain specification.

removeReservedPeer(peerId: Text): Text

  • interface: api.rpc.system.removeReservedPeer

  • jsonrpc: system_removeReservedPeer

  • summary: Removes a reserved peer.

reservedPeers(): Vec<Text>

  • interface: api.rpc.system.reservedPeers

  • jsonrpc: system_reservedPeers

  • summary: Returns the list of reserved peers.

resetLogFilter(): Null

  • interface: api.rpc.system.resetLogFilter

  • jsonrpc: system_resetLogFilter

  • summary: Resets the log filter to Substrate defaults.

syncState(): SyncState

  • interface: api.rpc.system.syncState

  • jsonrpc: system_syncState

  • summary: Returns the state of the syncing of the node.

version(): Text

  • interface: api.rpc.system.version

  • jsonrpc: system_version

  • summary: Retrieves the version of the node.

PreviousstateNexttrace

Last updated 2 years ago