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
| Name | Type |
|---|---|
T | extends SmartContract |
Callable
MethodCallTxBuilder
▸ MethodCallTxBuilder(current, options, ...args): Promise<ContractTransaction>
Parameters
| Name | Type |
|---|---|
current | T |
options | MethodCallOptions<T> |
...args | any |
Returns
Promise<ContractTransaction>
Defined in
dist/smart-contract/types/contract-call.d.ts:84