@fuel-ts/program v0.94.9 • Docs
CallConfig<
T
>:object
Represents configuration for calling a contract function.
• T = unknown
Type of the function's arguments.
args:
T
optional
callParameters:CallParams
externalAbis:
Record
<string
,JsonAbi
>
optional
forward:CoinQuantity
func:
FunctionFragment
program:
AbstractProgram
optional
txParameters:TxParams
CallParams:
Partial
<object
>
Represents call parameters for a contract call.
forward:
CoinQuantityLike
gasLimit:
BigNumberish
ContractCall:
object
Represents a contract call.
optional
amount:BigNumberish
optional
assetId:BytesLike
contractId:
AbstractAddress
data:
BytesLike
optional
externalContractsAbis:Record
<string
,JsonAbi
>
fnSelectorBytes:
Uint8Array
optional
gas:BigNumberish
DryRunResult<
TReturn
>:object
• TReturn
readonly
callResult:CallResult
readonly
functionScopes:InvocationScopeLike
[]
readonly
gasUsed:BN
readonly
isMultiCall:boolean
readonly
value:TReturn
FunctionResult<
TReturn
>:object
• TReturn
readonly
functionScopes:InvocationScopeLike
[]
readonly
gasUsed:BN
readonly
isMultiCall:boolean
readonly
logs:any
[]
readonly
program:AbstractProgram
readonly
transactionId:string
readonly
transactionResponse:TransactionResponse
readonly
transactionResult:TransactionResult
<Script
>
readonly
value:TReturn
InvocationScopeLike<
T
>:object
Represents a like object of InvocationScope with a method to get its call configuration.
• T = unknown
Type of the function's arguments.
Get the call configuration for this invocation scope.
CallConfig
<T
>
{CallConfig<T>} The call configuration.
TransactionCostOptions:
Partial
<object
>
Represents options for calculating the transaction cost.
fundTransaction:
boolean
TxParams:
Partial
<object
>
Represents transaction parameters for a contract call.
gasLimit:
BigNumberish
optional
maturity:number
optional
maxFee:BigNumberish
tip:
BigNumberish
variableOutputs:
number
optional
witnessLimit:BigNumberish