# CrossContractCallOptions

> For the complete documentation index, see [llms.txt](https://docs.midnight.network/llms.txt)

[**@midnight-ntwrk/compact-runtime v0.21.0**](https://docs.midnight.network/api-reference/compact-runtime.md)

***

[@midnight-ntwrk/compact-runtime](https://docs.midnight.network/api-reference/compact-runtime/globals.md) / CrossContractCallOptions

# Type Alias: CrossContractCallOptions

```
type CrossContractCallOptions = {

  args: readonly any[];

  calleeAddress: ContractAddress;

  calleeCircuitId: CircuitId;

  context: CircuitContext;

  declaration: InterfaceDescriptor;

  interfaceName: string;

  partialProofData: PartialProofData;

};
```

The call site's side of a cross-contract call, as emitted by `compactc`.

## Properties[​](#properties "Direct link to Properties")

### args[​](#args "Direct link to args")

```
readonly args: readonly any[];
```

Arguments to the circuit being called.

***

### calleeAddress[​](#calleeaddress "Direct link to calleeAddress")

```
readonly calleeAddress: ContractAddress;
```

On-chain address of contract being called.

***

### calleeCircuitId[​](#calleecircuitid "Direct link to calleeCircuitId")

```
readonly calleeCircuitId: CircuitId;
```

String identifier of the circuit being called.

***

### context[​](#context "Direct link to context")

```
readonly context: CircuitContext;
```

The caller's circuit context. Mutated in place for the duration of the sub-call.

***

### declaration[​](#declaration "Direct link to declaration")

```
readonly declaration: InterfaceDescriptor;
```

The caller's declaration of the called contract type.

***

### interfaceName[​](#interfacename "Direct link to interfaceName")

```
readonly interfaceName: string;
```

The caller's local name for the contract type, used in diagnostics.

***

### partialProofData[​](#partialproofdata "Direct link to partialProofData")

```
readonly partialProofData: PartialProofData;
```

The proof data created when the caller's circuit was initialized.
