Installation
fetch and crypto).
Initialize
Configuration
Environment URLs
Staging is the environment to integrate against today.
https://api-staging.keystoneos.xyz is live and serves testnet settlements. The production host is reserved and not yet serving; requests to it will fail. api-dev is for KeyStone-internal use and does not resolve publicly.Resources
The client exposes typed resource namespaces:Idempotency Keys
Always use idempotency keys for create/submit operations. The SDK provides a helper, whose UUIDv4 keys are outside thematch- prefix that is reserved for keys KeyStone derives and refused with 422:
Pagination
All list methods returnPaginatedResponse<T>: