Stellar PHP SDK API Documentation

XdrTransactionMeta
in package

Table of Contents

Properties

$operations  : array<string|int, mixed>|null
$v  : int
$v1  : XdrTransactionMetaV1|null
$v2  : XdrTransactionMetaV2|null
$v3  : XdrTransactionMetaV3|null
$v4  : XdrTransactionMetaV4|null

Methods

__construct()  : mixed
decode()  : XdrTransactionMeta
encode()  : string
fromBase64Xdr()  : static
fromJson()  : static
fromJsonValue()  : static
getOperations()  : array<string|int, mixed>|null
getV()  : int
getV1()  : XdrTransactionMetaV1|null
getV2()  : XdrTransactionMetaV2|null
getV3()  : XdrTransactionMetaV3|null
getV4()  : XdrTransactionMetaV4|null
setOperations()  : void
setV()  : void
setV1()  : void
setV2()  : void
setV3()  : void
setV4()  : void
toBase64Xdr()  : string
toJson()  : string
toJsonValue()  : mixed

Properties

Methods

__construct()

public __construct([int|null $v = null ]) : mixed
Parameters
$v : int|null = null

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

getOperations()

public getOperations() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null

setOperations()

public setOperations(array<string|int, mixed>|null $operations) : void
Parameters
$operations : array<string|int, mixed>|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