MetadataRequest represents the structure for metadata update requests. It contains a required metadata field that holds key-value pairs for updating entity metadata.
| 10 | // MetadataRequest represents the structure for metadata update requests. |
| 11 | // It contains a required metadata field that holds key-value pairs for updating entity metadata. |
| 12 | type MetadataRequest struct { |
| 13 | Metadata map[string]interface{} `json:"meta_data" binding:"required"` |
| 14 | } |
| 15 | |
| 16 | // UpdateMetadata handles HTTP requests to update metadata for various entity types. |
| 17 | // It processes requests to update metadata for ledgers, transactions, balances, and identities. |
nothing calls this directly
no outgoing calls
no test coverage detected