Stellar PHP SDK API Documentation

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

fromAccountId()

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
XdrAccountID

getAccountId()

public getAccountId() : string
Return values
string

        
On this page

Search results