SignedPayloadSigner
in package
Data model for the <a href="https://github.com/stellar/stellar-protocol/blob/master/core/cap-0040.md#xdr-changes">signed payload signer </a>
Table of Contents
Methods
- __construct() : mixed
- fromAccountId() : SignedPayloadSigner
- fromPublicKey() : SignedPayloadSigner
- getPayload() : string
- getSignerAccountId() : XdrAccountID
Methods
__construct()
public
__construct(XdrAccountID $signerAccountId, string $payload) : mixed
Parameters
- $signerAccountId : XdrAccountID
- $payload : string
fromAccountId()
public
static fromAccountId(string $accountId, string $payload) : SignedPayloadSigner
Parameters
- $accountId : string
-
"G..."
- $payload : string
Return values
SignedPayloadSignerfromPublicKey()
public
static fromPublicKey(string $publicKey, string $payload) : SignedPayloadSigner
Parameters
- $publicKey : string
-
bytes of ED25519 public key
- $payload : string
Return values
SignedPayloadSignergetPayload()
public
getPayload() : string
Return values
stringgetSignerAccountId()
public
getSignerAccountId() : XdrAccountID