Unified REST APIAgent access

Submit Venue Credentials (Model 3)

Submit user-provided credentials for the venue. Available for: lighter, kuru, nado. Credentials are encrypted using AES-256-GCM before storage.

POST
/account/venues/{venue}/credentials

Authorization

ApiKeyAuth
X-API-KEY<token>

In: header

Path Parameters

venue*enum<string>required
Available options: lighterkurunado

Request Body

application/json

credentials*objectrequired

Venue-specific credentials (see documentation for each venue)

Response Body

application/json

curl -X POST "https://api.hypereth.io/v2/account/venues/lighter/credentials" \  -H "Content-Type: application/json" \  -d '{    "credentials": {      "api_key_private_key": "0xdeadbeef...",      "api_key_index": 2,      "account_index": 0,      "l1_address": "0x1234567890abcdef1234567890abcdef12345678"    }  }'
{
  "venue": "lighter",
  "status": "active",
  "account_address": "0x1234567890abcdef1234567890abcdef12345678"
}
Empty
Empty
Empty
Empty