Skip to main content

Documentation Index

Fetch the complete documentation index at: https://thrackle.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

parseForeignCallDefinition(syntax, foreignCallNameToID, indexMap, functionArguments): ForeignCallDefinition
Parses the foreign call definition and validates its structure.

Parameters

ParameterTypeDescription
syntaxForeignCallJSONThe JSON representation of the foreign call definition.
foreignCallNameToIDFCNameToID[]-
indexMapFCNameToID[]-
functionArgumentsstring[]-

Returns

ForeignCallDefinition Either an object containing the foreign call’s name, address, function, return type, parameter types, and encoded indices if successful or an error.

Defined in

src/parsing/parser.ts:326