Stellar PHP SDK API Documentation

XdrOperationType
in package

Table of Contents

Constants

ACCOUNT_MERGE  : mixed = 8
ALLOW_TRUST  : mixed = 7
BEGIN_SPONSORING_FUTURE_RESERVES  : mixed = 16
BUMP_SEQUENCE  : mixed = 11
CHANGE_TRUST  : mixed = 6
CLAIM_CLAIMABLE_BALANCE  : mixed = 15
CLAWBACK  : mixed = 19
CLAWBACK_CLAIMABLE_BALANCE  : mixed = 20
CREATE_ACCOUNT  : mixed = 0
CREATE_CLAIMABLE_BALANCE  : mixed = 14
CREATE_PASSIVE_SELL_OFFER  : mixed = 4
END_SPONSORING_FUTURE_RESERVES  : mixed = 17
EXTEND_FOOTPRINT_TTL  : mixed = 25
INFLATION  : mixed = 9
INVOKE_HOST_FUNCTION  : mixed = 24
LIQUIDITY_POOL_DEPOSIT  : mixed = 22
LIQUIDITY_POOL_WITHDRAW  : mixed = 23
MANAGE_BUY_OFFER  : mixed = 12
MANAGE_DATA  : mixed = 10
MANAGE_SELL_OFFER  : mixed = 3
PATH_PAYMENT_STRICT_RECEIVE  : mixed = 2
PATH_PAYMENT_STRICT_SEND  : mixed = 13
PAYMENT  : mixed = 1
RESTORE_FOOTPRINT  : mixed = 26
REVOKE_SPONSORSHIP  : mixed = 18
SET_OPTIONS  : mixed = 5
SET_TRUST_LINE_FLAGS  : mixed = 21

Properties

$value  : int

Methods

__construct()  : mixed
ACCOUNT_MERGE()  : XdrOperationType
ALLOW_TRUST()  : XdrOperationType
BEGIN_SPONSORING_FUTURE_RESERVES()  : XdrOperationType
BUMP_SEQUENCE()  : XdrOperationType
CHANGE_TRUST()  : XdrOperationType
CLAIM_CLAIMABLE_BALANCE()  : XdrOperationType
CLAWBACK()  : XdrOperationType
CLAWBACK_CLAIMABLE_BALANCE()  : XdrOperationType
CREATE_ACCOUNT()  : XdrOperationType
CREATE_CLAIMABLE_BALANCE()  : XdrOperationType
CREATE_PASSIVE_SELL_OFFER()  : XdrOperationType
decode()  : XdrOperationType
encode()  : string
END_SPONSORING_FUTURE_RESERVES()  : XdrOperationType
enumName()  : string
EXTEND_FOOTPRINT_TTL()  : XdrOperationType
fromBase64Xdr()  : static
fromJson()  : static
fromJsonValue()  : static
fromTxRep()  : static
fromTxRepName()  : static
getValue()  : int
INFLATION()  : XdrOperationType
INVOKE_HOST_FUNCTION()  : XdrOperationType
LIQUIDITY_POOL_DEPOSIT()  : XdrOperationType
LIQUIDITY_POOL_WITHDRAW()  : XdrOperationType
MANAGE_BUY_OFFER()  : XdrOperationType
MANAGE_DATA()  : XdrOperationType
MANAGE_SELL_OFFER()  : XdrOperationType
PATH_PAYMENT_STRICT_RECEIVE()  : XdrOperationType
PATH_PAYMENT_STRICT_SEND()  : XdrOperationType
PAYMENT()  : XdrOperationType
RESTORE_FOOTPRINT()  : XdrOperationType
REVOKE_SPONSORSHIP()  : XdrOperationType
SET_OPTIONS()  : XdrOperationType
SET_TRUST_LINE_FLAGS()  : XdrOperationType
toBase64Xdr()  : string
toJson()  : string
toJsonValue()  : string
toTxRep()  : void

Constants

BEGIN_SPONSORING_FUTURE_RESERVES

public mixed BEGIN_SPONSORING_FUTURE_RESERVES = 16

END_SPONSORING_FUTURE_RESERVES

public mixed END_SPONSORING_FUTURE_RESERVES = 17

PATH_PAYMENT_STRICT_RECEIVE

public mixed PATH_PAYMENT_STRICT_RECEIVE = 2

Properties

Methods

__construct()

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

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

fromTxRep()

public static fromTxRep(array<string|int, mixed> $map, string $prefix) : static
Parameters
$map : array<string|int, mixed>
$prefix : string
Return values
static

fromTxRepName()

public static fromTxRepName(string $name) : static
Parameters
$name : string
Return values
static

toJson()

public toJson() : string
Tags
throws
JsonException

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

Return values
string

toTxRep()

public toTxRep(string $prefix, array<string|int, mixed> &$lines) : void
Parameters
$prefix : string
$lines : array<string|int, mixed>
On this page

Search results