Home·Validation Tools·Ika network
Ika network logo
TESTNET
By LavenderFive

Learn how to interact with ika nodes using different endpoint types.

#Available Endpoints

ServiceEndpoint
REST APIhttps://testnet-rest.lavenderfive.com:443/ika/
RPChttps://testnet-rpc.lavenderfive.com:443/ika/
gRPCtestnet-ika.lavenderfive.com:443/
WebSocketNot available
JSON-RPCNot available
WS-JSON-RPCNot available
    Some endpoints may require an API key for access. You can get one by signing up with the yellow "API KEY" button on this page or visit lavenderfive.com/api.

#🌐 Usage Examples

#REST API Examples

# Using curl
curl -X GET "https://testnet-rest.lavenderfive.com:443/ika//status" \
  -H "x-api-key: your-api-key-uuid"

# Using JavaScript/fetch
const response = await fetch(
  "https://testnet-rest.lavenderfive.com:443/ika//status",
  {
    headers: {
      'x-api-key': 'your-api-key-uuid'
    }
  }
);

#RPC Examples

# Using curl
curl -X POST "https://testnet-rpc.lavenderfive.com:443/ika/" \
  -H "Content-Type: application/json" \
  -H "x-api-key: your-api-key-uuid" \
  -d '{
    "jsonrpc": "2.0",
    "method": "status",
    "params": [],
    "id": 1
  }'

# Using JavaScript
const response = await fetch("https://testnet-rpc.lavenderfive.com:443/ika/", {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    'x-api-key': 'your-api-key-uuid'
  },
  body: JSON.stringify({
    jsonrpc: '2.0',
    method: 'status',
    params: [],
    id: 1
  })
});

#gRPC Examples

# Using grpcurl
grpcurl -H "x-api-key: your-api-key-uuid" \
  testnet-ika.lavenderfive.com:443/ \
  list

# Using Python with grpcio
import grpc

def create_stub():
    credentials = grpc.metadata_call_credentials(
        lambda context, callback: callback([("x-api-key", "your-api-key-uuid")], None)
    )
    
    channel = grpc.secure_channel(
        "testnet-ika.lavenderfive.com:443/", 
        grpc.composite_channel_credentials(
            grpc.ssl_channel_credentials(),
            credentials
        )
    )
    return channel

#🔑 Common Response Codes

CodeDescription
200Successful request
400Bad request / Invalid parameters
401Unauthorized / Invalid API key
404Resource not found
429Too many requests
500Internal server error
    Rate limits may apply to endpoints. Please use for testing and get a trial API-key to try out a fully unlimited api for 14 days.
Chain ID:
Latest Version:
Public endpoints
REST/LCD
testnet-rest.lavenderfive.com:443/ika
RPC
testnet-rpc.lavenderfive.com:443/ika
gRPC
testnet-ika.lavenderfive.com:443
Lavender Five
© 2022 Lavender.Five Nodes. All rights reserved.
Terms of Service.Privacy policy.Cookies policy.