Skip to main content

First endpoint quickstart

This flow evaluates Lasso with a standard JSON-RPC call. Agents should operate within the user’s existing resource and spending authority. The preview agent workflow provides separate management credentials and recoverable CLI onboarding when enabled.

1. Check live support

Choose a chain and an explicit strategy. The runtime default is load-balanced, but an explicit URL makes the evaluation reproducible.

2. Create and save a key

The response includes a full key and a ready-to-use endpoint. The full key is shown once. Put it in the project’s existing secret store; do not print it into chat, logs, shell history, screenshots, or source control. Load the key from the project’s secret manager. For a one-off interactive shell, read it without echoing it or placing the value in shell history:

3. Make a harmless call

The body remains standard JSON-RPC. include_meta=headers adds a request ID and encoded routing metadata without changing the body shape. Anonymous keys can also receive per-request CU and USD headers. See Routing and usage evidence before building automation around a header.

4. Install the URL

Lasso replaces the upstream URL; the client remains standard EVM JSON-RPC.
For viem:
Begin with a non-critical stateless read path. Compare results, latency, and routing evidence before expanding traffic or adding historical, write, filter, or subscription workloads. An anonymous key can be linked to a dashboard account without changing its RPC URL:
Give the short-lived claim_url to the user. Claiming keeps the RPC endpoint and premium scope, moves purchased credit to the account’s shared balance, and ends anonymous management. Grant later agent management and funding access separately; claiming does not broaden the app key. For exact key, funding, claim, and session-payment payloads, use /openapi.json and /SKILL.md.