Ƭ CallConfig<T
>: Object
Represents configuration for calling a contract function.
Name | Type | Description |
---|---|---|
T | unknown | Type of the function's arguments. |
Name | Type |
---|---|
args | T |
callParameters? | CallParams |
externalAbis | Record <string , JsonAbi > |
forward? | CoinQuantity |
func | FunctionFragment |
program | AbstractProgram |
txParameters? | TxParams |
Ƭ CallParams: Partial
<{ forward
: CoinQuantityLike
; gasLimit
: BigNumberish
}>
Represents call parameters for a contract call.
Ƭ ContractCall: Object
Represents a contract call.
Name | Type |
---|---|
amount? | BigNumberish |
assetId? | BytesLike |
contractId | AbstractAddress |
data | BytesLike |
encoding? | EncodingVersion |
externalContractsAbis? | Record <string , JsonAbi > |
fnSelector | string |
fnSelectorBytes | Uint8Array |
gas? | BigNumberish |
Ƭ InvocationScopeLike<T
>: Object
Represents a like object of InvocationScope with a method to get its call configuration.
Name | Type | Description |
---|---|---|
T | unknown | Type of the function's arguments. |
Name | Type |
---|---|
getCallConfig | () => CallConfig <T > |
Ƭ TransactionCostOptions: Partial
<{ fundTransaction
: boolean
}>
Represents options for calculating the transaction cost.
Ƭ TxParams: Partial
<{ gasLimit
: BigNumberish
; maturity?
: number
; maxFee?
: BigNumberish
; tip
: BigNumberish
; variableOutputs
: number
; witnessLimit?
: BigNumberish
}>
Represents transaction parameters for a contract call.