runEmulation
runEmulation(
config,message):Promise<EmulationOutcome|undefined>
Defined in: wallet-ton/src/emulation.ts:228
Run the configured emulation for an external message.
Parameters
Section titled “Parameters”config
Section titled “config”emulate?
Section titled “emulate?”emulateUrl?
Section titled “emulateUrl?”string
fetch?
Section titled “fetch?”{(input, init?): Promise<Response>; (input, init?): Promise<Response>; }
timeoutMs?
Section titled “timeoutMs?”number
tonApiKey?
Section titled “tonApiKey?”string
tonApiUrl?
Section titled “tonApiUrl?”string
message
Section titled “message”Cell
Returns
Section titled “Returns”Promise<EmulationOutcome | undefined>