Documentation Index
Fetch the complete documentation index at: https://docs.pulsy.app/llms.txt
Use this file to discover all available pages before exploring further.
KV Storage
Atria includes key-value storage for lightweight workflow state. KV storage is useful when feed logic needs a small amount of memory across executions. It is not required for most feeds. Many feeds can stay stateless and simply return a result when a block, transaction, or log matches the filter condition.Use Cases
- Store small lookup tables.
- Track recently seen identifiers.
- Keep compact feed state.
- Share simple values across executions.
Filter Access
Filters can use the@atria/kv module when KV access is enabled.
Bucket Operations
Create a bucket handle withkv.bucket(name), then call operations on that bucket.
Add Values
add(key, value): stores one value by key.addMany(items): stores multiple key-value items in one call.
Read Values
get(key): returns one value, ornullwhen no value exists.getMany(keys): returns multiple values for the provided keys.
Remove Values
remove(key): removes one key.removeMany(keys): removes multiple keys.
List Values
list({ limit, cursor }): returns a page of bucket values.limitcontrols the maximum number of values returned.cursoris used to continue from a previous page.