Humanode Docs
  • Quick Start
  • Overview
  • Concepts
    • Bioauth
    • Smart Contracts
    • Node
    • Validator
  • Chains
  • Help & Support
    • Troubleshooting
    • FAQ
    • Discord
  • Node
    • About
    • System Requirements
    • Setup
    • CLI
      • Dev Mode
    • JSON-RPC
    • Tools & Services
  • Humanode Launcher
    • About
    • Launcher Installation
    • Workspace Creation
      • Remote
      • Local
        • Linux / macOS
        • Windows
    • Node Installation
    • Node Configuration
    • Running the node
    • Stopping the node
  • Humanode Distribution
    • About
    • Preparation
    • Node Installation
      • Manual Installation
    • Running the node
  • Validators
    • About
    • Becoming a validator
    • Checking validator status
  • Tools & Services
    • Polkadot.js apps
    • Polkadot.js extension
      • Wallet Setup
    • EVM Playground
    • Subscan
    • Exchanges
    • Oracles
    • Testnet Faucets
    • Substrate API Sidecar
    • Humanode Truffle Box
    • Humanode Token Claim
  • Bioauth
    • About Bioauth
    • Enrolling
    • Authenticating
    • Robonode
  • EVM & Solidity Smart Contracts
    • EVM Compatibility
    • Precompiles
    • Architecture
    • HMND/eHMND swap
    • EVM Dev Mode & Keys
    • Sample contract: ERC20 token
    • EVM Playground
    • Humanode Truffle Box
Powered by GitBook
On this page
  • Chain state RPCs
  • Extrinsics RPCs
  • Bioauth RPCs
  1. Node

JSON-RPC

This section describes available JSON-RPC API interfaces.

PreviousDev ModeNextAbout

Last updated 1 year ago

is a concept when a computer program causes a procedure to execute in a different (commonly on another computer on a shared network).

In our case, we can say that RPC is a way for an external program—for example, a browser or front-end application—to communicate with the humanode peer to explore current network state and submit extrinsics.

Humanode provides several to communicate with a node including that substrate comes with.

We would like to introduce more common and useful RPCs including custom bioauth related ones.

Chain state RPCs

Storage related RPCs allows you to explore current chain state based on provided module and method. It's done via api.query.<module>.<method> call.

The full list of available storage RPCs you can find .

Extrinsics RPCs

Extrinsics for particular module and method can be submitted using api.tx.module.method call.

The full list of available extrinsics RPCs you can find .

Bioauth RPCs

Humanode team has developed bioauth related with the following functionalities:

Authentication based on provided liveness data

  • interface: api.rpc.bioauth.authenticate

  • jsonrpc: bioauth_authenticate

Enrollment based provided liveness data.

  • interface: api.rpc.bioauth.enroll

  • jsonrpc: bioauth_enroll

Getting the current bioauth status.

  • interface: api.rpc.bioauth.status

  • jsonrpc: bioauth_status

Getting a FaceTec Session Token.

  • interface: api.rpc.bioauth.getFacetecSessionToken

  • jsonrpc: bioauth_getFacetecSessionToken

Getting the configuration required for the Device SDK.

  • interface: api.rpc.bioauth.getFacetecDeviceSdkParams

  • jsonrpc: bioauth_getFacetecDeviceSdkParams

RPC
request–response
address space
substrate based RPCs
default list of RPCs
here
here
custom RPCs