system

Method Name: accountNextIndex

Parameter: accountId - AccountId

Return Type: Index​

  • interface: api.rpc.system.accountNextIndex

  • jsonrpc: system_accountNextIndex

The accountNextIndex method retrieves the next accountIndex as available on the node for the given parameter accountId.

Method Name: addLogFilter

Parameter: directives - Text

Return Type: Null​

  • interface: api.rpc.system.addLogFilter

  • jsonrpc: system_addLogFilter

The addLogFilter method adds the supplied directives to the current log filter for the given parameter directives.

Method Name: addLogFilter

Parameter: directives - Text

Return Type: Null​

  • interface: api.rpc.system.addLogFilter

  • jsonrpc: system_addLogFilter

The addLogFilter method adds the supplied directives to the current log filter for the given parameter directives.

Method Name: addReservedPeer

Parameter: peer - Text

Return Type: Text​

  • interface: api.rpc.system.addReservedPeer

  • jsonrpc: system_addReservedPeer

The addReservedPeer method adds a reserved peer for the given parameter peer.

Method Name: chain

Parameter: -

Return Type: Text​

  • interface: api.rpc.system.chain

  • jsonrpc: system_chain

The chain method retrieves the chain.

Method Name: chainType

Parameter: -

Return Type: ChainType​

  • interface: api.rpc.system.chainType

  • jsonrpc: system_chainType

The chainType method retrieves the chain type.

Method Name: dryRun

Parameter: extrinsic - Bytes, at - BlockHash

Return Type: ApplyExtrinsicResult​

  • interface: api.rpc.system.dryRun

  • jsonrpc: system_dryRun

The dryRun method Dry run an extrinsic at a given block for the given parameter extrinsic and at.

Method Name: health

Parameter: -

Return Type: Health​

  • interface: api.rpc.system.health

  • jsonrpc: system_health

The health method returns the health status of the node.

Method Name: localListenAddresses

Parameter: -

Return Type: Vec<Text>​

  • interface: api.rpc.system.localListenAddresses

  • jsonrpc: system_localListenAddresses

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.

Method Name: localPeerId

Parameter: -

Return Type: Text​

  • interface: api.rpc.system.localPeerId

  • jsonrpc: system_localPeerId

The localPeerId method returns the base58-encoded PeerId of the node.

Method Name: name

Parameter: -

Return Type:Text​

  • interface: api.rpc.system.name

  • jsonrpc: system_name

The name method retrieves the node name.

Method Name: networkState

Parameter: -

Return Type: NetworkState​

  • interface: api.rpc.system.networkState

  • jsonrpc: system_networkState

The networkState method returns current state of the network.

Method Name: nodeRoles

Parameter:-

Return Type: Vec<NodeRole>​

  • interface: api.rpc.system.nodeRoles

  • jsonrpc: system_nodeRoles

The nodeRoles method returns the roles the node is running as.

Method Name: peers

Parameter: -

Return Type: Vec<PeerInfo>

  • interface: api.rpc.system.peers

  • jsonrpc: system_peers

The nodeRoles method returns the currently connected peers.

Method Name: properties

Parameter: -

Return Type: ChainProperties​

  • interface: api.rpc.system.properties

  • jsonrpc: system_properties

The properties method gets a custom set of properties as a JSON object, defined in the chain spec.

Method Name: removeReservedPeer

Parameter: peerId - Text

Return Type: Text​

  • interface: api.rpc.system.removeReservedPeer

  • jsonrpc: system_removeReservedPeer

The removeReservedPeer method removes a reserved peer for the given parameter text.

Method Name: reservedPeers

Parameter: -

Return Type: Vec<Text>

  • interface: api.rpc.system.reservedPeers

  • jsonrpc: system_reservedPeers

The reservedPeers method returns the list of reserved peers.

Method Name: resetLogFilter

Parameter: -

Return Type: Null​

  • interface: api.rpc.system.resetLogFilter

  • jsonrpc: system_resetLogFilter

The resetLogFilter method resets the log filter to Substrate defaults.

Method Name: syncState

Parameter: -

Return Type: SyncState​

  • interface: api.rpc.system.syncState

  • jsonrpc: system_syncState

The syncState method returns the state of the syncing of the node.

Method Name: version

Parameter: -

Return Type: Text​

  • interface: api.rpc.system.version

  • jsonrpc: system_version

The version method retrieves the version of the node.

Last updated