Stellar PHP SDK API Documentation

XdrLedgerUpgrade
in package

Table of Contents

Properties

$newBaseFee  : int|null
$newBaseReserve  : int|null
$newConfig  : XdrConfigUpgradeSetKey|null
$newFlags  : int|null
$newLedgerVersion  : int|null
$newMaxSorobanTxSetSize  : int|null
$newMaxTxSetSize  : int|null
$type  : XdrLedgerUpgradeType

Methods

__construct()  : mixed
decode()  : XdrLedgerUpgrade
encode()  : string
fromBase64Xdr()  : static
fromJson()  : static
fromJsonValue()  : static
getNewBaseFee()  : int|null
getNewBaseReserve()  : int|null
getNewConfig()  : XdrConfigUpgradeSetKey|null
getNewFlags()  : int|null
getNewLedgerVersion()  : int|null
getNewMaxSorobanTxSetSize()  : int|null
getNewMaxTxSetSize()  : int|null
getType()  : XdrLedgerUpgradeType
setNewBaseFee()  : void
setNewBaseReserve()  : void
setNewConfig()  : void
setNewFlags()  : void
setNewLedgerVersion()  : void
setNewMaxSorobanTxSetSize()  : void
setNewMaxTxSetSize()  : void
setType()  : void
toBase64Xdr()  : string
toJson()  : string
toJsonValue()  : mixed

Properties

Methods

fromBase64Xdr()

public static fromBase64Xdr(string $xdr) : static
Parameters
$xdr : string
Return values
static

fromJson()

public static fromJson(string $json) : static
Parameters
$json : string
Tags
throws
JsonException

If $json is not syntactically valid JSON.

InvalidArgumentException

If the JSON shape does not match this type.

Return values
static

fromJsonValue()

public static fromJsonValue(mixed $value) : static
Parameters
$value : mixed
Return values
static

getNewBaseFee()

public getNewBaseFee() : int|null
Return values
int|null

getNewBaseReserve()

public getNewBaseReserve() : int|null
Return values
int|null

getNewLedgerVersion()

public getNewLedgerVersion() : int|null
Return values
int|null

getNewMaxSorobanTxSetSize()

public getNewMaxSorobanTxSetSize() : int|null
Return values
int|null

getNewMaxTxSetSize()

public getNewMaxTxSetSize() : int|null
Return values
int|null

setNewBaseFee()

public setNewBaseFee(int|null $newBaseFee) : void
Parameters
$newBaseFee : int|null

setNewBaseReserve()

public setNewBaseReserve(int|null $newBaseReserve) : void
Parameters
$newBaseReserve : int|null

setNewFlags()

public setNewFlags(int|null $newFlags) : void
Parameters
$newFlags : int|null

setNewLedgerVersion()

public setNewLedgerVersion(int|null $newLedgerVersion) : void
Parameters
$newLedgerVersion : int|null

setNewMaxSorobanTxSetSize()

public setNewMaxSorobanTxSetSize(int|null $newMaxSorobanTxSetSize) : void
Parameters
$newMaxSorobanTxSetSize : int|null

setNewMaxTxSetSize()

public setNewMaxTxSetSize(int|null $newMaxTxSetSize) : void
Parameters
$newMaxTxSetSize : int|null

toJson()

public toJson() : string
Tags
throws
JsonException

If the value contains structures that cannot be encoded as JSON.

Return values
string
On this page

Search results