Stellar PHP SDK API Documentation

SEP30ResponseSigner

Signer information in SEP-0030 account responses.

This class represents a signer public key that can be used to sign transactions for account recovery operations.

Tags
see
https://github.com/stellar/stellar-protocol/blob/v0.8.1/ecosystem/sep-0030.md
see
SEP30AccountResponse
see
RecoveryService::signTransaction()

Table of Contents

Properties

$key  : string

Methods

__construct()  : mixed
fromJson()  : SEP30ResponseSigner
Constructs a SEP30ResponseSigner from JSON data.
getKey()  : string
Gets the signer's public key.
setKey()  : void
Sets the signer's public key.

Properties

Methods

__construct()

public __construct(string $key) : mixed
Parameters
$key : string

The signer's public key in Stellar G... format. This key should be added to the account as a signer.

getKey()

Gets the signer's public key.

public getKey() : string
Return values
string

The Stellar public key in G... format that the server uses to sign transactions. This key should be added as a signer to the account with appropriate weight.

setKey()

Sets the signer's public key.

public setKey(string $key) : void
Parameters
$key : string

The Stellar public key in G... format.


        
On this page

Search results