{"schema":{"type":"object","required":["chains"],"additionalProperties":false,"properties":{"name":{"type":"string","maxLength":100,"minLength":1},"chains":{"type":"object","description":"Keyed by chain name or decimal chain ID from /agent.json chains.","additionalProperties":{"type":"object","required":["providers"],"additionalProperties":false,"properties":{"providers":{"type":"array","description":"In preference order: the priority strategy tries the first provider first.","items":{"type":"object","required":["name"],"additionalProperties":false,"properties":{"enabled":{"default":true,"type":"boolean","description":"Keep this provider stored while false stops routing and background observations. Omission resets to true."},"name":{"type":"string","description":"Provider name, unique across the whole profile: the same name cannot appear on two chains, so give each chain's providers distinct names such as base-primary and arbitrum-primary.","pattern":"\\A[a-zA-Z0-9][a-zA-Z0-9_-]{0,126}\\z"},"url":{"type":"string","format":"uri","description":"HTTPS endpoint, credentials included. Required for a new provider; omit to keep the stored URL."},"headers":{"type":"object","description":"Secret headers sent with HTTP requests, and with the WebSocket only when ws_url is on the url's host and port. Omit to retain stored headers; {} clears them.","additionalProperties":{"type":"string"},"writeOnly":true,"maxProperties":32},"background_observations":{"default":true,"type":"boolean","description":"Allow background checks and idle recovery for this provider. New providers default to true; omission retains an existing setting. heads: off only disables head observation."},"heads":{"type":"string","enum":["live","standby","passive","off"],"description":"Head observation intent; omission in a replacement resets to passive."},"ws_url":{"type":["string","null"],"format":"uri","description":"WebSocket endpoint, for subscriptions. Credentials in its own userinfo authenticate the socket."},"limits":{"type":"object","description":"Overrides for limits you know better than Lasso has learned. Omit to let Lasso learn them.","additionalProperties":false,"properties":{"archival":{"type":"boolean","description":"false keeps historical requests off this provider."},"logs_span":{"type":["integer","null"],"description":"Largest eth_getLogs block span the provider accepts. On provider-edit set, null clears the declared span and omission keeps it. In a Custom PUT, null equals omission: no span is declared.","minimum":1},"methods_blocked":{"type":"array","description":"Methods the provider refuses.","items":{"type":"string"},"maxItems":100}}}}},"maxItems":50,"minItems":1},"transactions":{"type":"object","required":["providers"],"additionalProperties":false,"properties":{"providers":{"type":"array","items":{"type":"string"},"minItems":1,"uniqueItems":true},"fallback":{"default":"none","type":"string","enum":["none","read_providers"]}}},"block_protection":{"default":false,"type":"boolean","description":"Each Lasso node never serves a latest block older than one it already served for this chain while reads keep meeting that height. When no read meets it for about two block times, whether providers fell behind or traffic paused, the next accepted answer sets a new floor; a client pinned to one provider gets that provider's view. The floor is per node, not global across regions or restarts."},"health_checks":{"default":"standard","type":"string","enum":["standard","light"],"description":"light spends less of the provider's quota on Lasso's checks."}}},"maxProperties":25,"minProperties":1},"log_ranges":{"default":"single","type":"string","enum":["single","split"],"description":"How a wide eth_getLogs range is served: single sends it whole to one provider; split serves it as block-range slices across the chain's providers and returns one response."},"error_interpretation":{"default":false,"type":"boolean","description":"Allow masked error interpretation for this profile's providers."}}},"recipes":[{"profile":"Two or more providers; block_protection: true","strategy":"balanced-fast","workload":"user-facing reads"},{"profile":"Fast providers first; block_protection: true","strategy":"fastest","workload":"latency-critical trading"},{"profile":"Include an archive-capable provider; default lag","strategy":"load-balanced","workload":"indexer or backfill"},{"profile":"Preferred broadcast provider first","strategy":"priority","workload":"transaction submission"},{"profile":"ws_url on at least two providers","strategy":"any","workload":"subscriptions"}]}