Transactions
Save transaction metadata
Changed onSaves metadata for a specific transaction in the ledger. Requires ledger:WriteMetadata scope (included in the default ledger:write mapping).
post/v3/{ledgerName}/transactions/{transactionId}/metadata
Request
- Base URLhttp://localhost:9000
- URLhttp://localhost:9000/v3/{ledgerName}/transactions/{transactionId}/metadata
- Auth
- HTTP bearer
- or none
Path parameters
ledgerNamestring required
Name of the ledger
transactionIdinteger required
Transaction ID
Headers
Idempotency-Keystring
Idempotency key for the request
Request body
object required
Metadata key-value pairs (supports typed values)
Example request
{
"reason": "correction",
"source": "support",
"priority": 1
}Response
Transaction metadata saved successfully
Changes
- info
api operation id
saveTransactionMetadataremoved and replaced withv3SaveTransactionMetadata
- info
- info
added the media type
text/plainfor the response with the status - info
added the media type
text/plainfor the response with the status - info
added the non-success response with the status
- info