# FakeReplicaRequest

Defined in: [core/src/testing/fake-replica.ts:78](https://github.com/B3Pay/ic-reactor/blob/f1956947ae037304fce1675a38695964c1aa9e32/packages/core/src/testing/fake-replica.ts#L78)

A request an agent sent to the fake replica.

## Properties

### endpoint

> `readonly` **endpoint**: `"status"` \| `"query"` \| `"call"` \| `"read_state"`

Defined in: [core/src/testing/fake-replica.ts:79](https://github.com/B3Pay/ic-reactor/blob/f1956947ae037304fce1675a38695964c1aa9e32/packages/core/src/testing/fake-replica.ts#L79)

***

### canisterId?

> `readonly` `optional` **canisterId?**: `string`

Defined in: [core/src/testing/fake-replica.ts:81](https://github.com/B3Pay/ic-reactor/blob/f1956947ae037304fce1675a38695964c1aa9e32/packages/core/src/testing/fake-replica.ts#L81)

The canister the request was addressed to, as text.

***

### methodName?

> `readonly` `optional` **methodName?**: `string`

Defined in: [core/src/testing/fake-replica.ts:83](https://github.com/B3Pay/ic-reactor/blob/f1956947ae037304fce1675a38695964c1aa9e32/packages/core/src/testing/fake-replica.ts#L83)

The canister method a query or call named.

***

### caller?

> `readonly` `optional` **caller?**: `string`

Defined in: [core/src/testing/fake-replica.ts:85](https://github.com/B3Pay/ic-reactor/blob/f1956947ae037304fce1675a38695964c1aa9e32/packages/core/src/testing/fake-replica.ts#L85)

The principal the request came from, as text, once it was checked.

***

### refused?

> `readonly` `optional` **refused?**: `string`

Defined in: [core/src/testing/fake-replica.ts:91](https://github.com/B3Pay/ic-reactor/blob/f1956947ae037304fce1675a38695964c1aa9e32/packages/core/src/testing/fake-replica.ts#L91)

Why the fake refused the request before any canister saw it, as a
replica refuses it: the signature, a delegation, or its targets did not
check out. The agent received HTTP 400.