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

# Function: simulateRecording()

# Function: simulateRecording()

> **simulateRecording**(`input`): `Promise`\<[`RecordingResult`](/sdk-reference/core/src/interfaces/RecordingResult)>

Defined in: [packages/core/src/auth-entry-builder.ts:195](https://github.com/bucks-pay/buckspay-sdk/blob/43ad599d2776cb5d657043c36847b3318093ccf4/packages/core/src/auth-entry-builder.ts#L195)

Run a recording simulation to obtain the auth entries/footprint for `call`.
The simulator throwing, or returning zero auth entries, is a SIMULATION\_FAILED
(the transfer would revert or records no auth). Base64 entries are decoded to
typed XDR for the caller; never trust unparsed RPC output downstream.

## Parameters

### input

#### call

[`Call`](/sdk-reference/core/src/interfaces/Call)

#### from

`string`

#### network

[`Network`](/sdk-reference/core/src/type-aliases/Network)

#### simulator

[`SorobanSimulator`](/sdk-reference/core/src/interfaces/SorobanSimulator)

## Returns

`Promise`\<[`RecordingResult`](/sdk-reference/core/src/interfaces/RecordingResult)>
