API key via header. Provide either `code` (inline JS) or `ipfs_id` (IPFS CID of a previously-cached action). When `code` is provided it is cached by its IPFS hash so subsequent calls can use `ipfs_id`.
Web3Key ManagementMPCProgrammable KeysLit Actions
Properties
Name
Type
Description
code
string
Inline JS source. Optional when `ipfs_id` is supplied.
ipfs_id
string
IPFS CID of a previously-submitted action. Looked up in the in-memory cache.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/LitActionRequest",
"title": "LitActionRequest",
"description": "API key via header.\n\nProvide either `code` (inline JS) or `ipfs_id` (IPFS CID of a previously-cached action). When `code` is provided it is cached by its IPFS hash so subsequent calls can use `ipfs_id`.",
"type": "object",
"properties": {
"code": {
"description": "Inline JS source. Optional when `ipfs_id` is supplied.",
"default": null,
"type": "string",
"nullable": true
},
"ipfs_id": {
"description": "IPFS CID of a previously-submitted action. Looked up in the in-memory cache.",
"default": null,
"type": "string",
"nullable": true
},
"js_params": {
"nullable": true
}
}
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.