Skip to content
BLOBPEDIAby Unity Nodes
Documentation/rpc/JSON-RPC methodView on rpc
rpc/JSON-RPC method

blob.GetAll

**GetAll returns all blobs under the given namespaces at the given height. If all blobs were found without any errors, the user will receive a list of blobs. If the BlobService couldn't find any blobs under the requested namespaces, the user will receive an empty list of blobs along with an empty error. If some of the requested namespaces were not found, the user will receive all the found blobs and an empty error. If there were internal errors during some of the requests, the user will receive all found blobs along with a combined error message.

All blobs will preserve the order of the namespaces that were requested. **

Auth level: read

Params:

[{"name":"height","description":"uint64","summary":"","schema":{"examples":[42],"type":["integer"]},"required":true,"deprecated":false},{"name":"namespaces","description":"[]libshare.Namespace","summary":"","schema":{"examples":[["AAAAAAAAAAAAAAAAAAAAAAAAAAAAAMJ/xGlNMdE="]],"items":[{"additionalProperties":false,"type":["object"]}],"type":["array"]},"required":true,"deprecated":false}]

Result:

{"name":"[]*blob.Blob","description":"[]*blob.Blob","summary":"","schema":{"examples":[[{"namespace":"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAMJ/xGlNMdE=","data":"z8QyNztvogN7NYU27gI+nJgg1vMJtkK3vbduSDz7/8mhmos37I7duH51kkgouxrsdhdOBJ1431OmipNfVedbtwe6zQ06EbJBl/jk4QwwU3S29YBTUZcUfTzXpEJIuMrYzU6YPxN8Zce/KNdsEIy4zxdfxekXpvsgZMBhf83iYgfHvsFAoJmmCp/ORAUoAFf7tJ7cF8RZyA20ftqRa1uhAmktxIb58abpGTG+TNgq3mjyvswECVykJYqGjqNtInyIx2EQOnVp2q69YHkegdoBvoOKzEFigQTdrL2TZBex4MhkrYt7Zf0DQyNMRkCPL/zKYE3bhvXNWMThWCmhD5TOApzirORXKOTB0nxhjDF/aFYkrS+IKBw1KfJ5isldWvmasJBWwRgDuli6Cty67vMMk7fUUTUf0St6rvQeftSoEVlC1xEw46+h5kIXaWiM0g/EzGIAdZHycUFWCSdnt3p7BS5ttEpSf1d6ZbVYYL2y0XguH41k54JqufEMAw9ukmaF0IbN9Jk6fNefV1dsWTdCP6Mz6e+RTCd9DQGqb2VrsvMzx5uVidLD8ND79pvXgL1VzyhJaMTcjSfZK15jOxLwGh1arZc2gyTNiq2pu6wNz0tdJp+fFU+peG8rHN8=","share_version":0,"commitment":"aHlbp+J9yub6hw/uhK6dP8hBLR2mFy78XNRRdLf2794=","index":-1}]],"items":[{"additionalProperties":false,"properties":{"blob":{"additionalProperties":false,"properties":{"blob":{},"commitment":{"media":{"binaryEncoding":"base64"},"type":"string"}},"type":"object"},"commitment":{"media":{"binaryEncoding":"base64"},"type":"string"}},"type":["object"]}],"type":["array"]},"required":true,"deprecated":false}