Icon HelpCircleForumIcon Link

⌘K

Icon HelpCircleForumIcon Link
Program

Icon LinkModule: @fuel-ts/program

Icon LinkClasses

Icon LinkInterfaces

Icon LinkType Aliases

Icon LinkCallConfig

Ƭ CallConfig<T>: Object

Represents configuration for calling a contract function.

Icon LinkType parameters

NameTypeDescription
TunknownType of the function's arguments.

Icon LinkType declaration

NameType
argsT
callParameters?CallParams
externalAbisRecord<string, JsonAbi>
forward?CoinQuantity
funcFunctionFragment
programAbstractProgram
txParameters?TxParams

Icon LinkDefined in

types.ts:50 Icon Link


Icon LinkCallParams

Ƭ CallParams: Partial<{ forward: CoinQuantityLike ; gasLimit: BigNumberish }>

Represents call parameters for a contract call.

Icon LinkDefined in

types.ts:28 Icon Link


Icon LinkContractCall

Ƭ ContractCall: Object

Represents a contract call.

Icon LinkType declaration

NameType
amount?BigNumberish
assetId?BytesLike
contractIdAbstractAddress
dataBytesLike
encoding?EncodingVersion
fnSelectorstring
fnSelectorBytesUint8Array
gas?BigNumberish
isInputDataPointerboolean
isOutputDataHeapboolean
outputEncodedLengthnumber

Icon LinkDefined in

types.ts:11 Icon Link


Icon LinkInvocationScopeLike

Ƭ InvocationScopeLike<T>: Object

Represents a like object of InvocationScope with a method to get its call configuration.

Icon LinkType parameters

NameTypeDescription
TunknownType of the function's arguments.

Icon LinkType declaration

NameType
getCallConfig() => CallConfig <T>

Icon LinkDefined in

types.ts:83 Icon Link


Icon LinkTransactionCostOptions

Ƭ TransactionCostOptions: Partial<{ fundTransaction: boolean ; gasPrice: BigNumberish }>

Represents options for calculating the transaction cost.

Icon LinkDefined in

types.ts:94 Icon Link


Icon LinkTxParams

Ƭ TxParams: Partial<{ gasLimit: BigNumberish ; gasPrice: BigNumberish ; maturity?: number ; maxFee?: BigNumberish ; variableOutputs: number ; witnessLimit?: BigNumberish }>

Represents transaction parameters for a contract call.

Icon LinkDefined in

types.ts:36 Icon Link