Skip to content

@stellar-passkey/core API


@stellar-passkey/core API / ConnectPasskeyOptions

Interface: ConnectPasskeyOptions

Defined in: packages/core/src/connect.ts:26

Properties

maxLookbackLedgers?

readonly optional maxLookbackLedgers: 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?

readonly optional networkPassphrase: string

Defined in: packages/core/src/connect.ts:30

Network passphrase. Defaults to Networks.TESTNET.


rpcUrl

readonly rpcUrl: string

Defined in: packages/core/src/connect.ts:28

Soroban RPC endpoint (e.g. https://soroban-testnet.stellar.org).


verifyWithSilentGet?

readonly optional verifyWithSilentGet: 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.

MIT — SCF-43 RFP submission (2026). Status: pre-1.0.