Use the payment network for a connected wallet
POST
Relays supported Solana RPC requests for your original USDC top-up.
Access: API key: billing:write · Session: any role, own account.
- Only documented RPC methods are accepted. A submitted transfer must match the payment's amount, mint, recipient and reference.
- Submitting a transaction does not add credit until a finalized receipt is verified.
- Browser requests need the Layerbeat origin and
X-CSRF-Token.
header
AuthorizationBearer <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.
id*stringThe resource id.
X-Org-ID?stringSessions only: act on this organization (you must be a member). Default: your first organization.
application/json- body
jsonrpc*"2.0"Value in
"2.0"id*integer|stringmethod*stringValue in
"getGenesisHash""getLatestBlockhash""getBlockHeight""getBalance""getTokenAccountBalance""getAccountInfo""getFeeForMessage""getSignatureStatuses""sendTransaction"params*array<unknown>Items
items <= 2Network result; this does not change available credit.
application/json- response
jsonrpc*"2.0"Value in
"2.0"id*integer|stringresult*string|null|number|null|boolean|null||null|array<unknown>|nullcurl -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"}