Stellar PHP SDK API Documentation

XdrSorobanResources
in package

Table of Contents

Properties

$diskReadBytes  : int
$footprint  : XdrLedgerFootprint
$instructions  : int
$writeBytes  : int

Methods

__construct()  : mixed
decode()  : XdrSorobanResources
encode()  : string
getDiskReadBytes()  : int
getFootprint()  : XdrLedgerFootprint
The ledger footprint of the transaction.
getInstructions()  : int
The maximum number of instructions this transaction can use
getWriteBytes()  : int
The maximum number of bytes this transaction can write to ledger
setDiskReadBytes()  : void
setFootprint()  : void
The ledger footprint of the transaction.
setInstructions()  : void
The maximum number of instructions this transaction can use
setWriteBytes()  : void
The maximum number of bytes this transaction can write to ledger

Properties

Methods

__construct()

public __construct(XdrLedgerFootprint $footprint, int $instructions, int $diskReadBytes, int $writeBytes) : mixed
Parameters
$footprint : XdrLedgerFootprint

// The ledger footprint of the transaction.

$instructions : int

// The maximum number of instructions this transaction can use

$diskReadBytes : int

// The maximum number of bytes this transaction can read from disk backed entries

$writeBytes : int

// The maximum number of bytes this transaction can write to ledger

getDiskReadBytes()

public getDiskReadBytes() : int
Return values
int

The maximum number of bytes this transaction can read from disk backed entries

getInstructions()

The maximum number of instructions this transaction can use

public getInstructions() : int
Return values
int

getWriteBytes()

The maximum number of bytes this transaction can write to ledger

public getWriteBytes() : int
Return values
int

setDiskReadBytes()

public setDiskReadBytes(int $diskReadBytes) : void
Parameters
$diskReadBytes : int

The maximum number of bytes this transaction can read from disk backed entries

setInstructions()

The maximum number of instructions this transaction can use

public setInstructions(int $instructions) : void
Parameters
$instructions : int

setWriteBytes()

The maximum number of bytes this transaction can write to ledger

public setWriteBytes(int $writeBytes) : void
Parameters
$writeBytes : int

        
On this page

Search results