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

# confirmNewForeignCallAdmin

> **confirmNewForeignCallAdmin**(`config`, `rulesEngineAdminContract`, `foreignCallAddress`, `functionSelector`): `Promise`\<`void`>

Confirm a new foreign call admin in the rules engine admin contract.

This function confirms a new admin for a specific foreign call.

## Parameters

| Parameter                          | Type                                  | Description                                                         |
| ---------------------------------- | ------------------------------------- | ------------------------------------------------------------------- |
| `config`                           | `Config`                              | The configuration object containing network and wallet information. |
| `rulesEngineAdminContract`         | `object`                              | The contract instance containing the address and ABI                |
| `rulesEngineAdminContract.abi`     | (`object` \| `object` \| `object`)\[] | -                                                                   |
| `rulesEngineAdminContract.address` | \`0x\$\{string}\`                     | -                                                                   |
| `foreignCallAddress`               | \`0x\$\{string}\`                     | The address of the foreign call to set the admin for.               |
| `functionSelector`                 | `string`                              | The selector for the specific foreign call                          |

## Returns

`Promise`\<`void`>

A promise.

## Throws

Will retry indefinitely on contract interaction failure, with a delay between attempts.

## Defined in

[src/modules/admin.ts:362](https://github.com/forte-service-company-ltd/forte-rules-engine-sdk/blob/5aad4d7c3c8cc91280e4449c17ac8ea31219fbed/src/modules/admin.ts#L362)
