RPC WebSocket

POST /v2/rpc-ws/tickets

Mints a one-time, 45-second, chain-bound browser WebSocket ticket. The ticket is returned as a Sec-WebSocket-Protocol value and the response must never be stored.

Request

  • Base URL
    https://api.arbital.xyz (the document declares no server; this is the origin it was published from)
  • URL
    https://api.arbital.xyz/v2/rpc-ws/tickets
  • Auth
    HTTP bearer

Request body

chain_id'eip155:1' | 'eip155:56' | 'eip155:143' | 'eip155:999' | 'eip155:4663' | 'eip155:5042' | 'eip155:8453' | 'eip155:42161' | 'solana:mainnet-beta' required

Response

One-time RPC WebSocket ticket

chain_id'eip155:1' | 'eip155:56' | 'eip155:143' | 'eip155:999' | 'eip155:4663' | 'eip155:5042' | 'eip155:8453' | 'eip155:42161' | 'solana:mainnet-beta' required
expires_at_unixinteger required
protocol'arbital.rpc.v1' required
ticket_protocolstring required
websocket_pathstring required

Changes

No recorded changes to this operation across all 1 revision of this API.