RhinestoneSDK instance.
createSession
Create a smart session, resolving the chain’s wrapped-native token from the orchestrator’s chain catalog (GET /chains) so native-token wrapping is permitted automatically. Project-scoped — needs the API key but no account. Resolves served settlement addresses and verifies deployed UniversalActionPolicy copies against the canonical bytecode. Store the resolved session rather than rebuilding an authorized definition under changing catalog defaults. For a fully offline build, use the standalone toSession and pass wrappedNativeToken yourself. Use crossChainPermits for settlement scope; definition-input claimPolicies is rejected before any reads, even when empty or undefined. A stored Session is an artifact for enable/sign methods, not a new definition.
Was this page helpful?