Skip to content

@stellar-passkey/core API


@stellar-passkey/core API / SignTransactionOptions

Interface: SignTransactionOptions

Defined in: packages/core/src/sign.ts:48

Properties

contractId

readonly contractId: string

Defined in: packages/core/src/sign.ts:50

C-address of the wallet contract whose auth entries we should sign.


credentialId

readonly credentialId: Uint8Array

Defined in: packages/core/src/sign.ts:54

Credential id of the passkey expected to sign.


networkPassphrase?

readonly optional networkPassphrase: string

Defined in: packages/core/src/sign.ts:56

Network passphrase the tx is bound to. Defaults to testnet.


rpId

readonly rpId: string

Defined in: packages/core/src/sign.ts:52

Relying-Party ID — only used when calling navigator.credentials.get.


signatureExpirationLedger

readonly signatureExpirationLedger: 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?

readonly optional signer: PasskeyAssertSigner

Defined in: packages/core/src/sign.ts:66

Optional override for the WebAuthn signing step (e2e tests).

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