Stellar PHP SDK API Documentation

FeeBumpTransactionResponse

Represents a Protocol 13+ fee-bump transaction wrapper

Fee-bump transactions allow any account to pay the fee for an existing transaction without needing to re-sign the original transaction. This is useful for sponsored transactions, fee bumping stuck transactions, or third-party fee payment scenarios.

This response contains the hash of the fee-bump transaction envelope and its signatures. The fee-bump transaction wraps an inner transaction, which is accessible through InnerTransactionResponse.

Introduced in Stellar Protocol 13 (CAP-15).

Tags
see
InnerTransactionResponse

For the wrapped inner transaction details

see
TransactionResponse

For the parent transaction response containing fee-bump details

see
https://developers.stellar.org

Stellar developer docs Fee-Bump Transactions

see
https://stellar.org/protocol/cap-15

CAP-15: Fee-Bump Transactions

since
1.0.0

Table of Contents

Methods

fromJson()  : FeeBumpTransactionResponse
Creates a FeeBumpTransactionResponse instance from JSON data
getHash()  : string
Gets the hash of the fee-bump transaction envelope
getSignatures()  : TransactionSignaturesResponse
Gets the signatures attached to the fee-bump transaction
loadFromJson()  : void
Loads fee-bump transaction data from JSON response

Methods

getHash()

Gets the hash of the fee-bump transaction envelope

public getHash() : string

Returns the hexadecimal hash of the fee-bump transaction envelope, which is distinct from the inner transaction hash. This hash identifies the entire fee-bump transaction including the new fee and fee payer.

Return values
string

The 64-character hexadecimal fee-bump transaction hash

loadFromJson()

Loads fee-bump transaction data from JSON response

protected loadFromJson(array<string|int, mixed> $json) : void
Parameters
$json : array<string|int, mixed>

The JSON array containing fee-bump transaction data


        
On this page

Search results