Stellar PHP SDK API Documentation

XdrEnvelopeType
in package

Table of Contents

Constants

ENVELOPE_TYPE_AUTH  : mixed = 3
ENVELOPE_TYPE_CONTRACT_ID  : mixed = 8
ENVELOPE_TYPE_OP_ID  : mixed = 6
ENVELOPE_TYPE_POOL_REVOKE_OP_ID  : mixed = 7
ENVELOPE_TYPE_SCP  : mixed = 1
ENVELOPE_TYPE_SCPVALUE  : mixed = 4
ENVELOPE_TYPE_SOROBAN_AUTHORIZATION  : mixed = 9
ENVELOPE_TYPE_TX  : mixed = 2
ENVELOPE_TYPE_TX_FEE_BUMP  : mixed = 5
ENVELOPE_TYPE_TX_V0  : mixed = 0

Properties

$value  : int

Methods

__construct()  : mixed
decode()  : XdrEnvelopeType
encode()  : string
enumName()  : string
ENVELOPE_TYPE_AUTH()  : XdrEnvelopeType
ENVELOPE_TYPE_CONTRACT_ID()  : XdrEnvelopeType
ENVELOPE_TYPE_OP_ID()  : XdrEnvelopeType
ENVELOPE_TYPE_POOL_REVOKE_OP_ID()  : XdrEnvelopeType
ENVELOPE_TYPE_SCP()  : XdrEnvelopeType
ENVELOPE_TYPE_SCPVALUE()  : XdrEnvelopeType
ENVELOPE_TYPE_SOROBAN_AUTHORIZATION()  : XdrEnvelopeType
ENVELOPE_TYPE_TX()  : XdrEnvelopeType
ENVELOPE_TYPE_TX_FEE_BUMP()  : XdrEnvelopeType
ENVELOPE_TYPE_TX_V0()  : XdrEnvelopeType
fromBase64Xdr()  : static
fromJson()  : static
fromJsonValue()  : static
fromTxRep()  : static
fromTxRepName()  : static
getValue()  : int
toBase64Xdr()  : string
toJson()  : string
toJsonValue()  : string
toTxRep()  : void

Constants

ENVELOPE_TYPE_CONTRACT_ID

public mixed ENVELOPE_TYPE_CONTRACT_ID = 8

ENVELOPE_TYPE_POOL_REVOKE_OP_ID

public mixed ENVELOPE_TYPE_POOL_REVOKE_OP_ID = 7

ENVELOPE_TYPE_SOROBAN_AUTHORIZATION

public mixed ENVELOPE_TYPE_SOROBAN_AUTHORIZATION = 9

ENVELOPE_TYPE_TX_FEE_BUMP

public mixed ENVELOPE_TYPE_TX_FEE_BUMP = 5

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