Skip to main content

TransactionSignerFn

type TransactionSignerFn

Defines a type which can sign a transaction asynchronously.

This trait can be implemented downstream to enable signing when using the `TransactionBuilder::execute` function.

type TransactionSignerFn interface {
// Sign a transaction and return a `UserSignature`.
Sign(transaction *Transaction) (TransactionSignerFnOutput, error)
}

func LiftFromExternalTransactionSignerFn

func LiftFromExternalTransactionSignerFn(handle uint64) TransactionSignerFn