Layerbeat

Use the payment network for a connected wallet

POST
/v1/billing/payments/{id}/solana-rpc

Relays supported Solana RPC requests for your original USDC top-up.

Access: API key: billing:write · Session: any role, own account.

Authorization

headerAuthorizationBearer <token>

Send Authorization: Bearer <token>. A token is an API key (lb_live_…, scoped, for programs) or a session (lb_sess_…, from signup or login, for people). See Authentication above.

Path Parameters

id*string

The resource id.

Header Parameters

X-Org-ID?string

Sessions only: act on this organization (you must be a member). Default: your first organization.

Request Body

application/json
  1. body
jsonrpc*"2.0"
Value in"2.0"
id*integer|string
method*string
Value in"getGenesisHash""getLatestBlockhash""getBlockHeight""getBalance""getTokenAccountBalance""getAccountInfo""getFeeForMessage""getSignatureStatuses""sendTransaction"
params*array<unknown>
Itemsitems <= 2

Response Body

Network result; this does not change available credit.

application/json
  1. response
jsonrpc*"2.0"
Value in"2.0"
id*integer|string
result*string|null|number|null|boolean|null||null|array<unknown>|null
curl -X POST 'https://layerbeat.com/v1/billing/payments/string/solana-rpc' \  -H 'Content-Type: application/json' \  -d '{  "jsonrpc": "2.0",  "id": 1,  "method": "getGenesisHash",  "params": []}'
{  "jsonrpc": "2.0",  "id": 1,  "result": "5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpKuc147dw2N9d"}