XdrAccountID
in package
Table of Contents
Methods
- __construct() : mixed
- Constructor.
- decode() : XdrAccountID
- encode() : string
- fromAccountId() : XdrAccountID
- Creates a new XdrAccountID from the passed stellar account id.
- getAccountId() : string
Methods
__construct()
Constructor.
public
__construct(string $accountId) : mixed
Parameters
- $accountId : string
-
Base32 encoded public key/account id starting with G
decode()
public
static decode(XdrBuffer $xdr) : XdrAccountID
Parameters
- $xdr : XdrBuffer
Return values
XdrAccountIDencode()
public
encode() : string
Return values
stringfromAccountId()
Creates a new XdrAccountID from the passed stellar account id.
public
static fromAccountId(string $accountId) : XdrAccountID
Parameters
- $accountId : string
-
Base32 encoded public key/account id starting with G
Return values
XdrAccountIDgetAccountId()
public
getAccountId() : string