rpc/JSON-RPC method
share.GetNamespaceData
**GetNamespaceData retrieves all shares that belong to the specified namespace within the Extended Data Square (EDS) at the given height. The shares are returned in a row-by-row order, maintaining the original layout if the namespace spans multiple rows. Returns the namespace data or an error if retrieval fails. **
Auth level: read
Params:
[{"name":"height","description":"uint64","summary":"","schema":{"examples":[42],"type":["integer"]},"required":true,"deprecated":false},{"name":"namespace","description":"libshare.Namespace","summary":"","schema":{"examples":["AAAAAAAAAAAAAAAAAAAAAAAAAAAAAMJ/xGlNMdE="],"additionalProperties":false,"type":["object"]},"required":true,"deprecated":false}]
Result:
{"name":"shwap.NamespaceData","description":"shwap.NamespaceData","summary":"","schema":{"examples":[[{"shares":[null],"proof":{}}]],"items":[{"additionalProperties":false,"properties":{"proof":{"additionalProperties":false,"type":"object"},"shares":{"items":{"additionalProperties":false,"type":"object"},"type":"array"}},"type":["object"]}],"type":["array"]},"required":true,"deprecated":false}