RpcNode Docs → Public API → Consola de API Public API
Consola de API Firma y llama a los métodos de la Public API para comercios desde el navegador. Las credenciales permanecen en esta pestaña: el secreto nunca se envía a docs.
← Public API
La clave de API se guarda en localStorage. El secreto se guarda solo en sessionStorage (se borra al cerrar la pestaña). La firma usa Web Crypto en tu navegador.
Métodos Account
GET /v1/account The plan of the account with its limits and what is used of them (credits, RPS, address watch slots, payment slots, payments of the month). GET /v1/usage Requests and credits of the whole account by day over the last 7, 30 or 90 days, with the top methods and a webhook breakdown. Networks
GET /v1/networks Active networks, ordered by sort, with the slugs of their environments. GET /v1/networks/{slug}/credits What an Address Watch event, a payment, a Tx Watch delivery and a block webhook cost in credits, per environment of the network. GET /v1/networks/{slug}/methods The RPC methods the network serves and what each costs in credits. GET /v1/network-status Live status of all active networks: status, chain tip height and node latency, as last measured. GET /v1/network-tokens Tokens of a network that can be used for payments, by contract, with symbol and number of decimals. Endpoints
GET /v1/endpoints List the JSON-RPC endpoints of the account (paginated). GET /v1/endpoints/available-networks Networks (and their environment slugs) an endpoint can be created on under your plan. POST /v1/endpoints Create a JSON-RPC endpoint on a network environment. Counts against the endpoints_limit of your plan. GET /v1/endpoints/{uuid}/usage Requests and credits of one endpoint for the last N calendar days, with top methods and webhook totals. PATCH /v1/endpoints/{uuid}/status Set the endpoint status to active or paused (paused stops JSON-RPC traffic). PATCH /v1/endpoints/{uuid}/allowed-ips Replace the client IP allowlist of the endpoint. An empty array clears the restriction (allow all). Payments
POST /v1/payments Create a payment for an order: an address, an amount and a lifetime. GET /v1/payments List the payments of the account, newest first. GET /v1/payments/{paymentId} One payment by its payment_id. GET /v1/payments/orders/{orderId} One payment by your own order_id. POST /v1/payments/{paymentId}/cancel Cancel a payment that is still pending. Takes no body. Address Watch
GET /v1/address-watches/account Address slots of the plan: how many there are and how many are taken, plus the webhook state. GET /v1/address-watches List watched addresses (paginated, newest first). Filter by network and/or part of the address. POST /v1/address-watches Start watching an address on a network. Takes one address slot. DELETE /v1/address-watches/{watchId} Stop watching an address. The watch id goes in the path; there is no request body. GET /v1/address-watches/events Recent events of your watched addresses, newest first. The transaction details are flattened onto each event (no nested payload). Transaction watch
GET /v1/tx-watches List your tx watches, newest first: the open ones and the ones that ended. Also returns the slots of the plan. POST /v1/tx-watches Start watching a transaction hash on a network. Takes one tx slot until the watch ends. DELETE /v1/tx-watches/{watchId} Stop watching a transaction and remove the watch. The watch id goes in the path; there is no request body. Webhooks
GET /v1/webhooks The webhook of the account: URL, enabled flag, networks per kind of event, egress IPs and the signing secret. PUT /v1/webhooks Save the URL, switch the webhook on or off, and choose the networks per kind of event. POST /v1/webhooks/secret Issue a new signing secret. The old one stops working at once. POST /v1/webhooks/test Send a test delivery to the saved URL. How it went shows in the delivery log. GET /v1/webhooks/deliveries The delivery log: recent deliveries to your URL with their status, attempts and last answer. WebSockets (subscription)
GET /v1/realtime/subscription Read whether the WebSocket is on and which networks it receives for each kind of event. PUT /v1/realtime/subscription Switch the WebSocket on or off and optionally replace the network lists. Returns the saved state. Solicitud GET /v1/account
The plan of the account with its limits and what is used of them (credits, RPS, address watch slots, payment slots, payments of the month).
Vista previa de la solicitud firmada Enviar solicitud