Temporary context created for the duration of a Session.transact call.

This context is used to store the state of the transact request and provide a way for plugins to add hooks into the process.

Hierarchy

  • TransactContext

Constructors

Properties

appName?: string
client: APIClient
createRequest: ((args: TransactArgs) => Promise<SigningRequest>)

Type declaration

fetch: Fetch
hooks: TransactHooks = ...
info: undefined | GetInfoResponse
permissionLevel: PermissionLevel
storage?: SessionStorage
transactPluginsOptions: TransactPluginsOptions

Accessors

Methods

  • Returns Promise<GetInfoResponse>