Skip to main content

Interface: EmailSigner

Defined in: packages/signers/src/email/index.ts:28

Extends

Properties

type

readonly type: SignerType
Defined in: packages/core/dist/index.d.ts:44

Inherited from

BuckspaySigner.type

Methods

authenticate()?

optional authenticate(params?): Promise<AuthDetails>
Defined in: packages/core/dist/index.d.ts:63 Social/email signers only: run the provider’s auth flow and resolve the Stellar key. wallets-kit / passkey signers omit it. After it resolves, getPublicKey()/signAuthEntry() operate on the provider-issued key.

Parameters

params?
Record<string, unknown>

Returns

Promise<AuthDetails>

Inherited from

BuckspaySigner.authenticate

getPublicKey()

getPublicKey(): Promise<SignerKey>
Defined in: packages/core/dist/index.d.ts:45

Returns

Promise<SignerKey>

Inherited from

BuckspaySigner.getPublicKey

requestOtp()

requestOtp(email): Promise<void>
Defined in: packages/signers/src/email/index.ts:30 Trigger the OTP issue step (sends the code to email).

Parameters

email
string

Returns

Promise<void>

signAuthEntry()

signAuthEntry(payload): Promise<Signature>
Defined in: packages/core/dist/index.d.ts:46

Parameters

payload
AuthEntryPayload

Returns

Promise<Signature>

Inherited from

BuckspaySigner.signAuthEntry

signTransaction()?

optional signTransaction(txXdr, ctx): Promise<string>
Defined in: packages/core/dist/index.d.ts:54 Sign a full transaction envelope (classic sponsored onboarding signs the sponsor-sandwich tx, not an auth-entry). Optional: only external-wallet signers (wallets-kit) implement it; passkey signers omit it. Returns the signed transaction as base64 XDR. The classic account adapter detects it structurally and raises ACCOUNT_NOT_READY if a signer can’t sign txs.

Parameters

txXdr
string
ctx
address
string
network
Network

Returns

Promise<string>

Inherited from

BuckspaySigner.signTransaction