Skip to main content

MethodCallTxBuilder

scrypt-ts / MethodCallTxBuilder

Interface: MethodCallTxBuilder<T>

A transaction builder. The default transaction builder only supports fixed-format call transactions. Some complex contracts require a custom transaction builder to successfully call the contract.

Type parameters

NameType
Textends SmartContract

Callable

MethodCallTxBuilder

MethodCallTxBuilder(current, options, ...args): Promise<ContractTransaction>

Parameters

NameType
currentT
optionsMethodCallOptions<T>
...argsany

Returns

Promise<ContractTransaction>

Defined in

dist/smart-contract/types/contract-call.d.ts:84