Skip to content
Download OpenAPI description
Overview
Languages
Servers
Mock server

https://docs.pers.ninja/_mock/swagger/

https://api.pers.ninja/v2/

Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations

Blockchain Network Management

Blockchain network configuration and management for multi-chain token operations. Handles network connections, chain switching, and blockchain-specific operations.
**Chain Operations:**

• **Multi-Chain Support:** Connect to multiple blockchain networks simultaneously

• **Network Configuration:** Configure blockchain endpoints and network parameters

• **Chain Switching:** Dynamic switching between different blockchain networks

• **Network Status:** Real-time monitoring of blockchain network health and status

• **Gas Management:** Optimize transaction costs across different networks

Request

Retrieve comprehensive chain data including authentication JWT token valid for 30 days. Supports both mainnet and testnet chains.

Security
projectKey
Path
chainIdstringrequired
curl -i -X GET \
  'https://docs.pers.ninja/_mock/swagger/chains/{chainId}' \
  -H 'x-project-key: YOUR_API_KEY_HERE'

Responses

Web3 chain data retrieved successfully

Bodyapplication/json
namestringrequired

Name of the chain

shortNamestring

Short name of the chain

chainstring

Chain name

networkstring

Network name

chainIdnumber

Chain ID

explorerUrlstring

explorer URL

networkIdnumber

Network ID

rpcUrlstringrequired

RPC URL

authHeaderstring

Authorization header

chainTypestringrequired

Chain type

Response
application/json
{ "name": "string", "shortName": "string", "chain": "string", "network": "string", "chainId": 0, "explorerUrl": "string", "networkId": 0, "rpcUrl": "string", "authHeader": "string", "chainType": "string" }
Operations
Operations
Operations