rpc/JSON-RPC method
share.GetSamples
**GetSamples retrieves multiple shares from the Extended Data Square (EDS) specified by the header at the given sample coordinates. Returns an array of samples containing the requested shares 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":"indices","description":"[]shwap.SampleCoords","summary":"","schema":{"examples":[[{"row":42,"col":42}]],"items":[{"additionalProperties":false,"properties":{"col":{"type":"integer"},"row":{"type":"integer"}},"type":["object"]}],"type":["array"]},"required":true,"deprecated":false}]
Result:
{"name":"[]shwap.Sample","description":"[]shwap.Sample","summary":"","schema":{"examples":[[{"share":null,"proof":{},"proof_type":0}]],"items":[{"additionalProperties":false,"properties":{"Proof":{"additionalProperties":false,"type":"object"},"ProofType":{"type":"integer"}},"type":["object"]}],"type":["array"]},"required":true,"deprecated":false}