@stellar-passkey/core API / ConnectPasskeyOptions
Interface: ConnectPasskeyOptions
Defined in: packages/core/src/connect.ts:26
Properties
maxLookbackLedgers?
readonlyoptionalmaxLookbackLedgers:number
Defined in: packages/core/src/connect.ts:38
How far back (in ledgers) to search for the ("sw_v1","add",credId) event. Defaults to 17_000 ledgers (~24 h on testnet). The Soroban RPC retention window is ~7 days but a single getEvents call typically scans no more than a few thousand ledgers at a time — paginate via cursor for longer windows.
networkPassphrase?
readonlyoptionalnetworkPassphrase:string
Defined in: packages/core/src/connect.ts:30
Network passphrase. Defaults to Networks.TESTNET.
rpcUrl
readonlyrpcUrl:string
Defined in: packages/core/src/connect.ts:28
Soroban RPC endpoint (e.g. https://soroban-testnet.stellar.org).
verifyWithSilentGet?
readonlyoptionalverifyWithSilentGet:boolean
Defined in: packages/core/src/connect.ts:44
If true, run a mediation:"silent" WebAuthn assertion to confirm the user still has the credential. Defaults to false — the gating via real signing happens on the next signTransaction call anyway.