> ## Documentation Index
> Fetch the complete documentation index at: https://docs.forterulesengine.io/llms.txt
> Use this file to discover all available pages before exploring further.

# ForeignCallOnChain

> v0.20.5

> **ForeignCallOnChain** = `object`

Defined in: [src/modules/types.ts:317](https://github.com/Forte-Service-Company-Ltd/forte-rules-engine-sdk/blob/40cc8388cecd8ee445b00b9df2b681cff8552ece/src/modules/types.ts#L317)

Structure representing a foreign call as stored on-chain

## Properties

### callingFunctionSelector

> **callingFunctionSelector**: `string`

Defined in: [src/modules/types.ts:335](https://github.com/Forte-Service-Company-Ltd/forte-rules-engine-sdk/blob/40cc8388cecd8ee445b00b9df2b681cff8552ece/src/modules/types.ts#L335)

Index of the calling function

***

### encodedIndices

> **encodedIndices**: [`ForeignCallEncodedIndex`](./ForeignCallEncodedIndex)\[]

Defined in: [src/modules/types.ts:331](https://github.com/Forte-Service-Company-Ltd/forte-rules-engine-sdk/blob/40cc8388cecd8ee445b00b9df2b681cff8552ece/src/modules/types.ts#L331)

Indices for encoded parameters

***

### foreignCallAddress

> **foreignCallAddress**: `string`

Defined in: [src/modules/types.ts:321](https://github.com/Forte-Service-Company-Ltd/forte-rules-engine-sdk/blob/40cc8388cecd8ee445b00b9df2b681cff8552ece/src/modules/types.ts#L321)

Address of the contract for the foreign call

***

### foreignCallIndex

> **foreignCallIndex**: `number`

Defined in: [src/modules/types.ts:327](https://github.com/Forte-Service-Company-Ltd/forte-rules-engine-sdk/blob/40cc8388cecd8ee445b00b9df2b681cff8552ece/src/modules/types.ts#L327)

Index of the foreign call

***

### mappedTrackerKeyIndices

> **mappedTrackerKeyIndices**: [`ForeignCallEncodedIndex`](./ForeignCallEncodedIndex)\[]

Defined in: [src/modules/types.ts:333](https://github.com/Forte-Service-Company-Ltd/forte-rules-engine-sdk/blob/40cc8388cecd8ee445b00b9df2b681cff8552ece/src/modules/types.ts#L333)

Indices for mapped tracker keys

***

### parameterTypes

> **parameterTypes**: `number`\[]

Defined in: [src/modules/types.ts:329](https://github.com/Forte-Service-Company-Ltd/forte-rules-engine-sdk/blob/40cc8388cecd8ee445b00b9df2b681cff8552ece/src/modules/types.ts#L329)

Types of parameters

***

### returnType

> **returnType**: `number`

Defined in: [src/modules/types.ts:325](https://github.com/Forte-Service-Company-Ltd/forte-rules-engine-sdk/blob/40cc8388cecd8ee445b00b9df2b681cff8552ece/src/modules/types.ts#L325)

Return type of the foreign call

***

### set

> **set**: `boolean`

Defined in: [src/modules/types.ts:319](https://github.com/Forte-Service-Company-Ltd/forte-rules-engine-sdk/blob/40cc8388cecd8ee445b00b9df2b681cff8552ece/src/modules/types.ts#L319)

Whether the foreign call is set

***

### signature

> **signature**: `string`

Defined in: [src/modules/types.ts:323](https://github.com/Forte-Service-Company-Ltd/forte-rules-engine-sdk/blob/40cc8388cecd8ee445b00b9df2b681cff8552ece/src/modules/types.ts#L323)

Function signature
