Stellar PHP SDK API Documentation

XdrSCError
in package

Table of Contents

Properties

$code  : XdrSCErrorCode|null
$contractCode  : int|null
$type  : XdrSCErrorType

Methods

__construct()  : mixed
decode()  : XdrSCError
encode()  : string
fromBase64Xdr()  : static
fromTxRep()  : XdrSCError
getCode()  : XdrSCErrorCode|null
getContractCode()  : int|null
getType()  : XdrSCErrorType
setCode()  : void
setContractCode()  : void
setType()  : void
toBase64Xdr()  : string
toTxRep()  : void

Properties

$contractCode

public int|null $contractCode = null

Methods

encode()

public encode() : string
Return values
string

fromBase64Xdr()

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

fromTxRep()

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

getContractCode()

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

setContractCode()

public setContractCode(int|null $contractCode) : void
Parameters
$contractCode : int|null

toBase64Xdr()

public toBase64Xdr() : string
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