IssueSessionKeyParams
このコンテンツはまだ日本語訳がありません。
IssueSessionKeyParams =
object&AgentOwner
Defined in: src/session/issue.ts:37
Parameters for issueSessionKey.
Type Declaration
address?
readonlyoptionaladdress?:Address
Bind issuance to an existing deployed account (re-provision after recovery).
approveEnable?
readonlyoptionalapproveEnable?: (permissionValidator) =>Promise<Hex>
Weighted-enable seam (RFC-0003 U-B1). Called with the SDK-built permission
validator; returns the enable signature for serializePermissionAccount’s
3rd arg. Omit for an ECDSA owner (the default single-signer enable). For a
weighted sudo this is approvePlugin(plugin) + encodeSignatures([approval], true),
computed by the caller with their weighted client. A mismatch surfaces on-chain
as EnableNotApproved at first use.
Parameters
permissionValidator
KernelValidator
Returns
Promise<Hex>
entryPoint?
readonlyoptionalentryPoint?:EntryPointType<"0.7">
EntryPoint override. Defaults to v0.7.
expiresAt?
readonlyoptionalexpiresAt?:bigint
Optional advisory expiry (unix seconds). Recorded in the envelope.
kernelVersion?
readonlyoptionalkernelVersion?:GetKernelVersion<"0.7">
Kernel version override. Defaults to KERNEL_V3_1.
policies
readonlypolicies: readonlyPolicy[]
Policies the session key must satisfy at userOp validation time (e.g.
createJpycDailyLimitPolicies). Supply the SAME policies in the SAME
order to issue and to revoke (buildRevokeSessionKeyCall) — the validator
identifier hashes the ordered policy array.
policySummary?
readonlyoptionalpolicySummary?:KawasekitSessionPolicySummary
Optional advisory policy summary for host UI.
publicClient
readonlypublicClient:PublicClient<Transport,Chain>
sessionKeySigner
readonlysessionKeySigner:LocalAccount