Stellar PHP SDK API Documentation

XdrHashIDPreimageOperationID
in package

Table of Contents

Properties

$opNum  : int
$seqNum  : XdrSequenceNumber
$sourceAccount  : XdrAccountID

Methods

__construct()  : mixed
decode()  : XdrHashIDPreimageOperationID
encode()  : string
fromBase64Xdr()  : static
fromJson()  : static
fromJsonValue()  : static
getOpNum()  : int
getSeqNum()  : XdrSequenceNumber
getSourceAccount()  : XdrAccountID
setOpNum()  : void
setSeqNum()  : void
setSourceAccount()  : void
toBase64Xdr()  : string
toJson()  : string
toJsonValue()  : array<string|int, mixed>

Properties

Methods

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

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