Skip to content

@armada/sdk / index / SignBackend

Type Alias: SignBackend ​

SignBackend = (requests, options?) => Promise<EddsaSignature[]>

Defined in: src/wallet/external-signer.ts:12

Signature backend: receives the ENTIRE batch of intents at once, returns one signature per request. options.signal fires if the SDK stops wanting the signatures; a backend waiting on approval should stop and reject.

Parameters ​

requests ​

readonly SpendSignRequest[]

options? ​

SpendSignOptions

Returns ​

Promise<EddsaSignature[]>