PatchTransactionRequest
in package
Request parameters for updating pending transaction information via SEP-06.
Used to update transaction details when the anchor requests additional information via the pending_transaction_info_update status. The transaction's required_info_updates field indicates which fields need to be provided.
Should only be used when the anchor explicitly requests updates. Attempting to update when no information is requested will result in an error response.
Tags
Table of Contents
Properties
Methods
- __construct() : mixed
Properties
$fields
public
array<string|int, mixed>
$fields
$id
public
string
$id
$jwt
public
string|null
$jwt
Methods
__construct()
public
__construct(string $id, array<string, mixed> $fields, string|null $jwt) : mixed
Parameters
- $id : string
-
Id of the transaction
- $fields : array<string, mixed>
-
An object containing the values requested to be updated by the anchor. See: https://github.com/stellar/stellar-protocol/blob/v4.3.0/ecosystem/sep-0006.md#pending-transaction-info-update
- $jwt : string|null
-
jwt token previously received from the anchor via the SEP-10 authentication flow