NoSignatureNeededException

class NoSignatureNeededException(message: String, assembledTransaction: AssembledTransaction<*>) : ContractException

Exception thrown when attempting to sign a read-only transaction.

Read-only contract calls (those without authorization requirements or write operations) do not need to be signed or submitted. Use AssembledTransaction.result to get the simulated result directly.

To override this check and sign/submit anyway, set force=true when calling AssembledTransaction.sign.

Constructors

Link copied to clipboard
constructor(message: String, assembledTransaction: AssembledTransaction<*>)

Properties

Link copied to clipboard

The AssembledTransaction that caused the error

Link copied to clipboard
expect open val cause: Throwable?
Link copied to clipboard
expect open val message: String?