Stellar PHP SDK API Documentation

ResourceConfig

Part of the soroban simulate transaction request.

Tags
see
https://developers.stellar.org/network/soroban-rpc/api-reference/methods/simulateTransaction

Table of Contents

Properties

$instructionLeeway  : int

Methods

__construct()  : mixed
Constructor.
getInstructionLeeway()  : int
getRequestParams()  : array<string, mixed>
Builds and returns the request parameters array for the RPC API call.
setInstructionLeeway()  : void

Properties

Methods

__construct()

Constructor.

public __construct(int $instructionLeeway) : mixed
Parameters
$instructionLeeway : int

The number of additional CPU instructions to reserve for budget leeway in preflight calculations.

getInstructionLeeway()

public getInstructionLeeway() : int
Return values
int —

The number of additional CPU instructions to reserve for budget leeway in preflight calculations.

getRequestParams()

Builds and returns the request parameters array for the RPC API call.

public getRequestParams() : array<string, mixed>
Return values
array<string, mixed> —

The request parameters formatted for Soroban RPC

setInstructionLeeway()

public setInstructionLeeway(int $instructionLeeway) : void
Parameters
$instructionLeeway : int

The number of additional CPU instructions to reserve for budget leeway in preflight calculations.

On this page

Search results