Retrieve comprehensive chain data including authentication JWT token valid for 30 days. Supports both mainnet and testnet chains.
PERS-api docs (2.0.2)
Download OpenAPI description
Overview
Languages
Servers
Mock server
https://docs.pers.ninja/_mock/swagger/
https://api.pers.ninja/v2/
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
- Mock server
https://docs.pers.ninja/_mock/swagger/chains/{chainId}
https://api.pers.ninja/v2/chains/{chainId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.pers.ninja/_mock/swagger/chains/{chainId}' \
-H 'x-project-key: YOUR_API_KEY_HERE'Response
application/json
{ "name": "string", "shortName": "string", "chain": "string", "network": "string", "chainId": 0, "explorerUrl": "string", "networkId": 0, "rpcUrl": "string", "authHeader": "string", "chainType": "string" }