Stellar PHP SDK API Documentation

XdrLiquidityPoolConstantProductParameters
in package

Table of Contents

Properties

$assetA  : XdrAsset
$assetB  : XdrAsset
$fee  : int

Methods

__construct()  : mixed
decode()  : XdrLiquidityPoolConstantProductParameters
encode()  : string
fromBase64Xdr()  : static
fromJson()  : static
fromJsonValue()  : static
fromTxRep()  : XdrLiquidityPoolConstantProductParameters
getAssetA()  : XdrAsset
getAssetB()  : XdrAsset
getFee()  : int
setAssetA()  : void
setAssetB()  : void
setFee()  : void
toBase64Xdr()  : string
toJson()  : string
toJsonValue()  : array<string|int, mixed>
toTxRep()  : void

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
On this page

Search results