The constructor of the Session
class.
SessionOptions
Readonly
abiReadonly
abisReadonly
allowOptional
Readonly
appReadonly
broadcastReadonly
chainReadonly
expireReadonly
fetchReadonly
permissionOptional
Readonly
storageReadonly
transactReadonly
transactOptional
Readonly
uiReadonly
walletCreate a clone of the given SigningRequest
Returns a cloned SigningRequest with updated abiCache and zlib
The SigningRequest to clone
The ABICacheInterface to use for the clone
Convert any provided form of TransactArgs to a SigningRequest
Returns a SigningRequest
Request a signature for a given transaction.
This function will NOT use plugins and will NOT broadcast the transaction.
The signature(s) for the transaction
A full transaction-like object
Perform a transaction using this session.
The status and data gathered during the operation.
flowchart LR
A((Transact)) --> B{{"Hook(s): beforeSign"}}
B --> C[Wallet Plugin]
C --> D{{"Hook(s): afterSign"}}
D --> E[Broadcast Plugin]
E --> F{{"Hook(s): afterBroadcast"}}
F --> G[TransactResult]
Optional
options: TransactOptionsUpdate a SigningRequest, ensuring its old metadata is retained.
Templates in any missing fields from partial transactions.
TransactArgs
TransactArgs
A representation of a session to interact with a specific blockchain account.