SignerOptions
Defined in: src/signer.ts:128
Options for creating a Signer instance.
Type Parameters
Section titled “Type Parameters”T extends Transport
Properties
Section titled “Properties”autoCloseTransportChannel?
Section titled “autoCloseTransportChannel?”
optionalautoCloseTransportChannel?:boolean
Defined in: src/signer.ts:135
Automatically close the transport channel after a response is received.
Default
Section titled “Default”truecloseTransportChannelAfter?
Section titled “closeTransportChannelAfter?”
optionalcloseTransportChannelAfter?:number
Defined in: src/signer.ts:140
Delay in milliseconds before auto-closing the transport channel.
Default
Section titled “Default”200crypto?
Section titled “crypto?”
optionalcrypto?:Pick<Crypto,"randomUUID">
Defined in: src/signer.ts:145
Source of random UUIDs for JSON-RPC request IDs.
Default
Section titled “Default”globalThis.cryptoderivationOrigin?
Section titled “derivationOrigin?”
optionalderivationOrigin?:string
Defined in: src/signer.ts:157
Derivation origin for ICRC-95 identity derivation.
When set, all requests include an icrc95DerivationOrigin param.
https://github.com/dfinity/wg-identity-authentication/blob/main/topics/icrc_95_derivationorigin.md
transforms?
Section titled “transforms?”
optionaltransforms?:SignerRequestTransformFn[]
Defined in: src/signer.ts:151
Additional transform functions applied to each outgoing JSON-RPC request, can be used to e.g. add additional params to every request as seen in ICRC-95. Transforms are applied in order; each receives the output of the previous one.
transport
Section titled “transport”transport:
T
Defined in: src/signer.ts:130
The transport used to communicate with the signer.