Skip to content

@fuel-ts/program v0.94.1Docs


@fuel-ts/program

Type Aliases

CallConfig<T>

CallConfig<T>: object

Represents configuration for calling a contract function.

Type Parameters

Type ParameterDefault typeDescription
TunknownType of the function's arguments.

Type declaration

NameTypeDefined in
argsTtypes.ts:60
callParametersCallParamstypes.ts:56
externalAbisRecord<string, JsonAbi>types.ts:59
forwardCoinQuantitytypes.ts:58
funcFunctionFragmenttypes.ts:54
programAbstractProgramtypes.ts:55
txParametersTxParamstypes.ts:57

Defined in

types.ts:53


CallParams

CallParams: Partial<object>

Represents call parameters for a contract call.

Type declaration

NameTypeDefined in
forwardCoinQuantityLiketypes.ts:32
gasLimitBigNumberishtypes.ts:33

Defined in

types.ts:31


ContractCall

ContractCall: object

Represents a contract call.

Type declaration

NameTypeDefined in
amountBigNumberishtypes.ts:22
assetIdBytesLiketypes.ts:23
contractIdAbstractAddresstypes.ts:19
dataBytesLiketypes.ts:20
externalContractsAbisRecord<string, JsonAbi>types.ts:25
fnSelectorBytesUint8Arraytypes.ts:21
gasBigNumberishtypes.ts:24

Defined in

types.ts:18


DryRunResult<TReturn>

DryRunResult<TReturn>: object

Type Parameters

Type Parameter
TReturn

Type declaration

NameTypeDefined in
callResultCallResulttypes.ts:123
functionScopesInvocationScopeLike[]types.ts:124
gasUsedBNtypes.ts:120
isMultiCallbooleantypes.ts:122
valueTReturntypes.ts:121

Defined in

types.ts:119


FunctionResult<TReturn>

FunctionResult<TReturn>: object

Type Parameters

Type Parameter
TReturn

Type declaration

NameTypeDefined in
functionScopesInvocationScopeLike[]types.ts:114
gasUsedBNtypes.ts:110
isMultiCallbooleantypes.ts:112
logsany[]types.ts:108
programAbstractProgramtypes.ts:111
transactionIdstringtypes.ts:113
transactionResponseTransactionResponsetypes.ts:115
transactionResultTransactionResult<Script>types.ts:116
valueTReturntypes.ts:109

Defined in

types.ts:106


InvocationScopeLike<T>

InvocationScopeLike<T>: object

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

Type Parameters

Type ParameterDefault typeDescription
TunknownType of the function's arguments.

Type declaration

NameTypeDescriptionDefined in
getCallConfigCallConfig<T>Get the call configuration for this invocation scope.types.ts:96

Defined in

types.ts:91


TransactionCostOptions

TransactionCostOptions: Partial<object>

Represents options for calculating the transaction cost.

Type declaration

NameTypeDefined in
fundTransactionbooleantypes.ts:103

Defined in

types.ts:102


TxParams

TxParams: Partial<object>

Represents transaction parameters for a contract call.

Type declaration

NameTypeDefined in
gasLimitBigNumberishtypes.ts:41
maturitynumbertypes.ts:42
maxFeeBigNumberishtypes.ts:43
tipBigNumberishtypes.ts:40
variableOutputsnumbertypes.ts:45
witnessLimitBigNumberishtypes.ts:44

Defined in

types.ts:39

Classes

Interfaces