Create a new link instance.
Chains this instance is configured with.
Storage adapter used to persist sessions.
Transport used to deliver requests to the users wallet.
Package version.
The APIClient instance for communicating with the node.
Remove all stored sessions for given identifier.
Send an identity request and verify the identity proof if LinkOptions.verifyProofs is true.
Metadata to add to the request.
Optional request permission if the request is for a specific account or permission.
The scope of the identity request.
List stored session auths for given identifier. The most recently used session is at the top (index 0).
Login and create a persistent session.
The session identifier, an EOSIO name ([a-z1-5]{1,12}
).
Should be set to the contract account if applicable.
Create an eosjs compatible signature provider using this link.
Keys the created provider will claim to be able to sign for.
Chain to use when configured with multiple chains.
(internal) Transport override for this call.
Remove stored session for given identifier and auth.
Restore previous session, use login to create a new session.
The session identifier, must be same as what was used when creating the session with login.
A specific session auth to restore, if omitted the most recently used session will be restored.
If given function will only consider that specific chain when restoring session.
A LinkSession instance or null if no session can be found.
Sign and optionally broadcast a EOSIO transaction, action or actions.
Example:
let result = await myLink.transact({transaction: myTx})
The action, actions or transaction to use.
Options for this transact call.
Transport override, for internal use.
Generated using TypeDoc
Anchor Link main class.