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:48 Icon Link


Icon LinkCallParams

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

Represents call parameters for a contract call.

Icon LinkDefined in

types.ts:26 Icon Link


Icon LinkContractCall

Ƭ ContractCall: Object

Represents a contract call.

Icon LinkType declaration

NameType
amount?BigNumberish
assetId?BytesLike
contractIdAbstractAddress
dataBytesLike
encoding?EncodingVersion
externalContractsAbis?Record<string, JsonAbi>
fnSelectorstring
fnSelectorBytesUint8Array
gas?BigNumberish

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:81 Icon Link


Icon LinkTransactionCostOptions

Ƭ TransactionCostOptions: Partial<{ fundTransaction: boolean }>

Represents options for calculating the transaction cost.

Icon LinkDefined in

types.ts:92 Icon Link


Icon LinkTxParams

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

Represents transaction parameters for a contract call.

Icon LinkDefined in

types.ts:34 Icon Link