Metadata
Update metadata
Update metadata on a resource with the Go SDK.
POST
Update metadata
Use
client.Metadata.UpdateMetadata to add or change metadata on an existing ledger, transaction, balance, or identity.
Call the method
client.Metadata.UpdateMetadata
| Field | Type | Description |
|---|---|---|
entityID | string | ID of the entity to update (ldg_…, txn_…, bln_…, or idt_…). |
MetaData | map[string]interface{} | Key-value pairs to add or update on the entity. |
Use the updated metadata
Read
result.MetaData for the full metadata object after the update. New keys are merged with existing metadata.Related docs
How metadata works
Attaching custom attributes to Blnk objects.
Update metadata
HTTP request and response schema.