Skip to main content

StorageProviders

Queries a list of GetStorageProviders items.

Query Parameters
    pagination.key byte

    key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.

    pagination.offset uint64

    offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.

    pagination.limit uint64

    limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.

    pagination.count_total boolean

    count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.

    pagination.reverse boolean

    reverse is set to true if results are to be returned in the descending order.

    Since: cosmos-sdk 0.43

Responses

A successful response.


Schema
    sps object[]
  • Array [
  • id int64
    operator_address string

    operator_address defines the account address of the storage provider's operator; It also is the unique index key of sp.

    funding_address string

    funding_address defines one of the storage provider's accounts which is used to deposit and reward.

    seal_address seal_address defines one of the storage provider's accounts which is used to SealObject
    approval_address approval_address defines one of the storage provider's accounts which is used to approve use's createBucket/createObject request
    gc_address string

    gc_address defines one of the storage provider's accounts which is used for gc purpose.

    maintenance_address maintenance_address defines one of the storage provider's accounts which is used for testing while in maintenance mode
    total_deposit string

    total_deposit defines the number of tokens deposited by this storage provider for staking.

    status status defines the current service status of this storage provider

    Possible values: [STATUS_IN_SERVICE, STATUS_IN_JAILED, STATUS_GRACEFUL_EXITING, STATUS_IN_MAINTENANCE]

    Default value: STATUS_IN_SERVICE

    Status is the status of a storage provider.

    endpoint endpoint define the storage provider's network service address
    description object

    description defines the description terms for the storage provider.

    moniker moniker defines a human-readable name for the storage provider
    identity string

    identity defines an optional identity signature (ex. UPort or Keybase).

    website string

    website defines an optional website link.

    security_contact string

    security_contact defines an optional email for security contact.

    details string

    details define other optional details.

    bls_key byte
  • ]
  • pagination object

    pagination defines the pagination in the response.

    next_key byte

    next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results.

    total uint64
Loading...