Skip to main content
Version: 10.x

Type Alias: FUNCTION_INVOCATION

FUNCTION_INVOCATION = FUNCTION_CALL & object

Defined in: node_modules/@starknet-io/starknet-types-0104/dist/types/api/components.d.ts:1391

Represents a function invocation along with its execution details.

Type Declaration

caller_address

caller_address: FELT

The address of the invoking contract. 0 for the root invocation

class_hash

class_hash: FELT

The hash of the class being called

entry_point_type

entry_point_type: ENTRY_POINT_TYPE

call_type

call_type: CALL_TYPE

result

result: FELT[]

The value returned from the function invocation

calls

calls: NESTED_CALL[]

The calls made by this invocation

events

events: ORDERED_EVENT[]

The events emitted in this invocation

messages

messages: ORDERED_MESSAGE[]

The messages sent by this invocation to L1

execution_resources

execution_resources: INNER_CALL_EXECUTION_RESOURCES

Resources consumed by the call tree rooted at this given call (including the root)

is_reverted

is_reverted: boolean

true if this inner call panicked