TransactResult

Upon a successful call to the Transact method of a Session, the response returned will be an object that matches the TransactResult interface.

Properties

The TransactResult object contains the following properties:

interface TransactResult {
  chain: ChainDefinition
  request: SigningRequest
  resolved: ResolvedSigningRequest | undefined
  response?: { [key: string]: any }
  revisions: TransactRevisions
  signatures: Signature[]
  signer: PermissionLevel
  transaction: ResolvedTransaction | undefined
}

chain

The ChainDefinition of the blockchain that was used in the Transact call.

request

A representation of the transaction performed in the SigningRequest format.

resolved

The ResolvedSigningRequest that was used during the Transact call, which has been resolved to ensure proper tapos values and to template any placeholder values that may have existed in the SigningRequest.

response

The results returned from the APIClient after successfully submitting the transaction to the blockchain APIs.

revisions

An instance of TransactRevisions which contains a history of modifications made to the transaction through the execution of the included TransactPlugins.

signatures

An array of Signatures that were used in authorizing the transaction.

signer

The PermissionLevel representation of the account and permission used to authorize the transaction.

transaction

A representation of the transaction performed in the ResolvedTransaction format.