Stellar PHP SDK API Documentation

SEP30SignatureResponse

Response containing transaction signature from SEP-0030 recovery server.

This class represents the response from POST /accounts/{address}/sign/{signing_address} endpoint, containing the signature and network passphrase for the signed transaction.

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

Table of Contents

Properties

$networkPassphrase  : string
$signature  : string

Methods

__construct()  : mixed
fromJson()  : SEP30SignatureResponse
Constructs a SEP30SignatureResponse from JSON data.
getNetworkPassphrase()  : string
Gets the network passphrase.
getSignature()  : string
Gets the transaction signature.
setNetworkPassphrase()  : void
Sets the network passphrase.
setSignature()  : void
Sets the transaction signature.

Properties

Methods

__construct()

public __construct(string $signature, string $networkPassphrase) : mixed
Parameters
$signature : string

The transaction signature in base64 format.

$networkPassphrase : string

The Stellar network passphrase.

getNetworkPassphrase()

Gets the network passphrase.

public getNetworkPassphrase() : string
Return values
string

The network passphrase.

getSignature()

Gets the transaction signature.

public getSignature() : string
Return values
string

The signature in base64 format.

setNetworkPassphrase()

Sets the network passphrase.

public setNetworkPassphrase(string $networkPassphrase) : void
Parameters
$networkPassphrase : string

The network passphrase.

setSignature()

Sets the transaction signature.

public setSignature(string $signature) : void
Parameters
$signature : string

The signature in base64 format.


        
On this page

Search results