πŸ“‘API Reference

This is a list of APIs that are specific to Dhpc, for a full list of Cosmos SDK APIs refer to their documentation.

get
Query parameters
pagination.keystringOptional

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.offsetstring Β· uint64Optional

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.limitstring Β· uint64Optional

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_totalbooleanOptional

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.reversebooleanOptional

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

Since: cosmos-sdk 0.43

Responses
200

A successful response.

application/json
get
/github.com/DhpcChain/Dhpc/data/data
get
Path parameters
addressstringRequired
Query parameters
pagination.keystringOptional

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.offsetstring Β· uint64Optional

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.limitstring Β· uint64Optional

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_totalbooleanOptional

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.reversebooleanOptional

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

Since: cosmos-sdk 0.43

Responses
200

A successful response.

application/json
get
/github.com/DhpcChain/Dhpc/data/data/{address}

Queries a list of Data items.

get
Path parameters
addressstringRequired
ownerstringRequired
networkstringRequired
Responses
200

A successful response.

application/json
get
/github.com/DhpcChain/Dhpc/data/data/{address}/{owner}/{network}

Parameters queries the parameters of the module.

get
Responses
200

A successful response.

application/json
get
/github.com/DhpcChain/Dhpc/data/params
get
Query parameters
pagination.keystringOptional

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.offsetstring Β· uint64Optional

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.limitstring Β· uint64Optional

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_totalbooleanOptional

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.reversebooleanOptional

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

Since: cosmos-sdk 0.43

Responses
200

A successful response.

application/json
get
/github.com/DhpcChain/Dhpc/request/allowed_oracles

Queries a list of AllowedOracles items.

get
Path parameters
idstring Β· uint64Required
Responses
200

A successful response.

application/json
get
/github.com/DhpcChain/Dhpc/request/allowed_oracles/{id}
get
Query parameters
pagination.keystringOptional

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.offsetstring Β· uint64Optional

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.limitstring Β· uint64Optional

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_totalbooleanOptional

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.reversebooleanOptional

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

Since: cosmos-sdk 0.43

Responses
200

A successful response.

application/json
get
/github.com/DhpcChain/Dhpc/request/miner_response

Queries a list of MinerResponse items.

get
Path parameters
uUIDstringRequired
Responses
200

A successful response.

application/json
get
/github.com/DhpcChain/Dhpc/request/miner_response/{uUID}

Parameters queries the parameters of the module.

get
Responses
200

A successful response.

application/json
get
/github.com/DhpcChain/Dhpc/request/params
get
Query parameters
pagination.keystringOptional

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.offsetstring Β· uint64Optional

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.limitstring Β· uint64Optional

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_totalbooleanOptional

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.reversebooleanOptional

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

Since: cosmos-sdk 0.43

Responses
200

A successful response.

application/json
get
/github.com/DhpcChain/Dhpc/request/request_record

Queries a list of RequestRecord items.

get
Path parameters
uUIDstringRequired
Responses
200

A successful response.

application/json
get
/github.com/DhpcChain/Dhpc/request/request_record/{uUID}
get
Query parameters
pagination.keystringOptional

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.offsetstring Β· uint64Optional

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.limitstring Β· uint64Optional

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_totalbooleanOptional

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.reversebooleanOptional

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

Since: cosmos-sdk 0.43

Responses
200

A successful response.

application/json
get
/github.com/DhpcChain/Dhpc/request/request_record_answer_pending
get
Query parameters
pagination.keystringOptional

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.offsetstring Β· uint64Optional

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.limitstring Β· uint64Optional

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_totalbooleanOptional

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.reversebooleanOptional

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

Since: cosmos-sdk 0.43

Responses
200

A successful response.

application/json
get
/github.com/DhpcChain/Dhpc/request/request_record_miner_pending

Queries a Treasury by index.

get
Responses
200

A successful response.

application/json
get
/github.com/DhpcChain/Dhpc/request/treasury
get
Query parameters
pagination.keystringOptional

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.offsetstring Β· uint64Optional

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.limitstring Β· uint64Optional

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_totalbooleanOptional

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.reversebooleanOptional

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

Since: cosmos-sdk 0.43

Responses
200

A successful response.

application/json
get
/github.com/DhpcChain/Dhpc/user/linked_requesters

Queries a list of LinkedRequesters items.

get
Path parameters
indexstringRequired
Responses
200

A successful response.

application/json
get
/github.com/DhpcChain/Dhpc/user/linked_requesters/{index}

Parameters queries the parameters of the module.

get
Responses
200

A successful response.

application/json
get
/github.com/DhpcChain/Dhpc/user/params
get
Query parameters
pagination.keystringOptional

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.offsetstring Β· uint64Optional

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.limitstring Β· uint64Optional

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_totalbooleanOptional

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.reversebooleanOptional

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

Since: cosmos-sdk 0.43

Responses
200

A successful response.

application/json
get
/github.com/DhpcChain/Dhpc/user/slash_history

Queries a list of SlashHistory items.

get
Path parameters
indexstringRequired
Responses
200

A successful response.

application/json
get
/github.com/DhpcChain/Dhpc/user/slash_history/{index}
get
Query parameters
pagination.keystringOptional

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.offsetstring Β· uint64Optional

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.limitstring Β· uint64Optional

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_totalbooleanOptional

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.reversebooleanOptional

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

Since: cosmos-sdk 0.43

Responses
200

A successful response.

application/json
get
/github.com/DhpcChain/Dhpc/user/user

Queries a list of User items.

get
Path parameters
accountstringRequired
Responses
200

A successful response.

application/json
get
/github.com/DhpcChain/Dhpc/user/user/{account}

Last updated