Skip to main content

Function: simulateRecording()

simulateRecording(input): Promise<RecordingResult>
Defined in: packages/core/src/auth-entry-builder.ts:195 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

from

string

network

Network

simulator

SorobanSimulator

Returns

Promise<RecordingResult>