@stellar-passkey/core API / SignTransactionOptions
Interface: SignTransactionOptions
Defined in: packages/core/src/sign.ts:48
Properties
contractId
readonlycontractId:string
Defined in: packages/core/src/sign.ts:50
C-address of the wallet contract whose auth entries we should sign.
credentialId
readonlycredentialId:Uint8Array
Defined in: packages/core/src/sign.ts:54
Credential id of the passkey expected to sign.
networkPassphrase?
readonlyoptionalnetworkPassphrase:string
Defined in: packages/core/src/sign.ts:56
Network passphrase the tx is bound to. Defaults to testnet.
rpId
readonlyrpId:string
Defined in: packages/core/src/sign.ts:52
Relying-Party ID — only used when calling navigator.credentials.get.
signatureExpirationLedger
readonlysignatureExpirationLedger:number
Defined in: packages/core/src/sign.ts:64
Ledger number the signature is valid until. The host rejects auth entries whose signatureExpirationLedger is ≤ the current ledger (error: "signature has expired"). rpc.prepareTransaction leaves this field zero on SorobanCredentialsAddress entries — callers MUST set it. Recommended: currentLedger + 60 (~5 min on testnet).
signer?
readonlyoptionalsigner:PasskeyAssertSigner
Defined in: packages/core/src/sign.ts:66
Optional override for the WebAuthn signing step (e2e tests).