setTransactionDecorator

function setTransactionDecorator(
decoratorFunction: (args: {
account: Account;
transaction: PreparedTransaction;
}) => Promise<{
account: Account;
transaction: PreparedTransaction;
}>,
): void;

Parameters

Type

let decoratorFunction: (args: {
account: Account;
transaction: PreparedTransaction;
}) => Promise<{ account: Account; transaction: PreparedTransaction }>;

Returns

let returnType: void;