Icon HelpCircleForumIcon Link

⌘K

Icon HelpCircleForumIcon Link
InvocationCallResult

Icon LinkClass: InvocationCallResult<T>

@fuel-ts/program .InvocationCallResult
Represents the result of an invocation call.

Icon LinkType parameters

NameTypeDescription
TanyThe type of the returned value.

Icon LinkHierarchy

Icon LinkConstructors

Icon Linkconstructor

new InvocationCallResult<T>(funcScopes, callResult, isMultiCall): InvocationCallResult <T>
Constructs an instance of InvocationCallResult.

Icon LinkType parameters

NameType
Tany

Icon LinkParameters

NameTypeDescription
funcScopesInvocationScopeLike | InvocationScopeLike []The function scopes.
callResultCallResult The call result.
isMultiCallbooleanWhether it's a multi-call.

Icon LinkReturns

Icon LinkOverrides

Icon LinkDefined in

Icon LinkProperties

Icon LinkcallResult

Readonly callResult: CallResult

Icon LinkDefined in


Icon LinkfunctionScopes

Readonly functionScopes: InvocationScopeLike []

Icon LinkInherited from

Icon LinkDefined in


Icon LinkgasUsed

Readonly gasUsed: BN

Icon LinkInherited from

Icon LinkDefined in


Icon LinkisMultiCall

Readonly isMultiCall: boolean

Icon LinkInherited from

Icon LinkDefined in


Icon Linkvalue

Readonly value: T

Icon LinkInherited from

Icon LinkDefined in

Icon LinkMethods

Icon LinkgetAbiFromAllCalls

getAbiFromAllCalls(): JsonAbisFromAllCalls
Gets the ABI from all calls.

Icon LinkReturns

The ABIs from all calls.

Icon LinkInherited from

Icon LinkDefined in


Icon LinkgetDecodedLogs

getDecodedLogs(receipts): unknown[]
Decodes the logs from the receipts.

Icon LinkParameters

NameTypeDescription
receiptsTransactionResultReceipt[]The transaction result receipts.

Icon LinkReturns

unknown[]
The decoded logs.

Icon LinkInherited from

Icon LinkDefined in


Icon LinkgetDecodedValue

getDecodedValue(callResult): T
Decodes the value from the call result.

Icon LinkParameters

NameTypeDescription
callResultCallResult The call result.

Icon LinkReturns

T
The decoded value.

Icon LinkInherited from

Icon LinkDefined in


Icon Linkbuild

build<T>(funcScopes, callResult, isMultiCall): Promise<InvocationCallResult <T>>
Builds an instance of InvocationCallResult.

Icon LinkType parameters

Name
T

Icon LinkParameters

NameTypeDescription
funcScopesInvocationScopeLike | InvocationScopeLike []The function scopes.
callResultCallResult The call result.
isMultiCallbooleanWhether it's a multi-call.

Icon LinkReturns

Promise<InvocationCallResult <T>>
The invocation call result.

Icon LinkDefined in