Empowerchain - API docs ​
A REST interface for state queries
Informations ​
Version ​
1.0.0
Content negotiation ​
URI Schemes ​
- http
Consumes ​
- application/json
Produces ​
- application/json
All endpoints ​
query ​
Method | URI | Name | Summary |
---|---|---|---|
GET | /empowerchain/empowerchain/plasticcredit/applicants/ | applicant | |
GET | /empowerchain/empowerchain/plasticcredit/applicants | applicants | |
GET | /empowerchain/empowerchain/plasticcredit/creditbalances/{owner}/ | credit balance | |
GET | /empowerchain/empowerchain/plasticcredit/creditbalances | credit balances | |
GET | /empowerchain/empowerchain/plasticcredit/creditcollections/ | credit collection | |
GET | /empowerchain/empowerchain/plasticcredit/credit-types/ | credit type | |
GET | /empowerchain/empowerchain/plasticcredit/credit-types | credit types | |
GET | /empowerchain/empowerchain/plasticcredit/issuers/ | issuer | |
GET | /empowerchain/empowerchain/plasticcredit/issuers | issuers | |
GET | /empowerchain/empowerchain/plasticcredit/params | plastic credit params | |
GET | /empowerchain/empowerchain/plasticcredit/projects/ | project | |
GET | /empowerchain/empowerchain/plasticcredit/projects | projects | |
GET | /empowerchain/empowerchain/proofofexistence/proof/ | proof |
Paths ​
applicant (Applicant) ​
GET /empowerchain/empowerchain/plasticcredit/applicants/{applicant_id}
Parameters ​
Name | Source | Type | Go type | Separator | Required | Default | Description |
---|---|---|---|---|---|---|---|
applicant_id | path | uint64 (formatted string) | string | ✓ |
All responses ​
Code | Status | Description | Has headers | Schema |
---|---|---|---|---|
200 | OK | A successful response. | schema | |
default | An unexpected error response. | schema |
Responses ​
200 - A successful response. ​
Status: OK
Schema ​
Default Response ​
An unexpected error response.
Schema ​
Inlined models ​
ApplicantDefaultBody
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
code | int32 (formatted integer) | int32 | ||||
details | []ApplicantDefaultBodyDetailsItems0 | []*ApplicantDefaultBodyDetailsItems0 | ||||
error | string | string | ||||
message | string | string |
ApplicantDefaultBodyDetailsItems0
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
type_url | string | string | ||||
value | byte (base64 string) | strfmt.Base64 |
ApplicantOKBody
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
applicant | ApplicantOKBodyApplicant | ApplicantOKBodyApplicant |
ApplicantOKBodyApplicant
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
admin | string | string | ||||
description | string | string | ||||
id | uint64 (formatted string) | string | ||||
name | string | string |
applicants (Applicants) ​
GET /empowerchain/empowerchain/plasticcredit/applicants
Parameters ​
Name | Source | Type | Go type | Separator | Required | Default | Description |
---|---|---|---|---|---|---|---|
pagination.count_total | query | boolean | bool | 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.key | query | byte (base64 string) | strfmt.Base64 | 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.limit | query | uint64 (formatted string) | string | 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.offset | query | uint64 (formatted string) | string | 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.reverse | query | boolean | bool | reverse is set to true if results are to be returned in the descending order. |
Since: cosmos-sdk 0.43 |
All responses ​
Code | Status | Description | Has headers | Schema |
---|---|---|---|---|
200 | OK | A successful response. | schema | |
default | An unexpected error response. | schema |
Responses ​
200 - A successful response. ​
Status: OK
Schema ​
Default Response ​
An unexpected error response.
Schema ​
Inlined models ​
ApplicantsDefaultBody
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
code | int32 (formatted integer) | int32 | ||||
details | []ApplicantsDefaultBodyDetailsItems0 | []*ApplicantsDefaultBodyDetailsItems0 | ||||
error | string | string | ||||
message | string | string |
ApplicantsDefaultBodyDetailsItems0
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
type_url | string | string | ||||
value | byte (base64 string) | strfmt.Base64 |
ApplicantsOKBody
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
applicants | []ApplicantsOKBodyApplicantsItems0 | []*ApplicantsOKBodyApplicantsItems0 | ||||
pagination | ApplicantsOKBodyPagination | ApplicantsOKBodyPagination |
ApplicantsOKBodyApplicantsItems0
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
admin | string | string | ||||
description | string | string | ||||
id | uint64 (formatted string) | string | ||||
name | string | string |
ApplicantsOKBodyPagination
PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest.
message SomeResponse { repeated Bar results = 1; PageResponse page = 2; }
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
next_key | byte (base64 string) | strfmt.Base64 | 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 (formatted string) | string |
credit balance (CreditBalance) ​
GET /empowerchain/empowerchain/plasticcredit/creditbalances/{owner}/{denom}
Parameters ​
Name | Source | Type | Go type | Separator | Required | Default | Description |
---|---|---|---|---|---|---|---|
denom | path | string | string | ✓ | |||
owner | path | string | string | ✓ |
All responses ​
Code | Status | Description | Has headers | Schema |
---|---|---|---|---|
200 | OK | A successful response. | schema | |
default | An unexpected error response. | schema |
Responses ​
200 - A successful response. ​
Status: OK
Schema ​
Default Response ​
An unexpected error response.
Schema ​
Inlined models ​
CreditBalanceDefaultBody
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
code | int32 (formatted integer) | int32 | ||||
details | []CreditBalanceDefaultBodyDetailsItems0 | []*CreditBalanceDefaultBodyDetailsItems0 | ||||
error | string | string | ||||
message | string | string |
CreditBalanceDefaultBodyDetailsItems0
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
type_url | string | string | ||||
value | byte (base64 string) | strfmt.Base64 |
CreditBalanceOKBody
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
balance | CreditBalanceOKBodyBalance | CreditBalanceOKBodyBalance |
CreditBalanceOKBodyBalance
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
balance | CreditBalanceOKBodyBalanceBalance | CreditBalanceOKBodyBalanceBalance | ||||
denom | string | string | ||||
owner | string | string |
CreditBalanceOKBodyBalanceBalance
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
active | uint64 (formatted string) | string | ||||
retired | uint64 (formatted string) | string |
credit balances (CreditBalances) ​
GET /empowerchain/empowerchain/plasticcredit/creditbalances
Parameters ​
Name | Source | Type | Go type | Separator | Required | Default | Description |
---|---|---|---|---|---|---|---|
pagination.count_total | query | boolean | bool | 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.key | query | byte (base64 string) | strfmt.Base64 | 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.limit | query | uint64 (formatted string) | string | 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.offset | query | uint64 (formatted string) | string | 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.reverse | query | boolean | bool | reverse is set to true if results are to be returned in the descending order. |
Since: cosmos-sdk 0.43 |
All responses ​
Code | Status | Description | Has headers | Schema |
---|---|---|---|---|
200 | OK | A successful response. | schema | |
default | An unexpected error response. | schema |
Responses ​
200 - A successful response. ​
Status: OK
Schema ​
Default Response ​
An unexpected error response.
Schema ​
Inlined models ​
CreditBalancesDefaultBody
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
code | int32 (formatted integer) | int32 | ||||
details | []CreditBalancesDefaultBodyDetailsItems0 | []*CreditBalancesDefaultBodyDetailsItems0 | ||||
error | string | string | ||||
message | string | string |
CreditBalancesDefaultBodyDetailsItems0
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
type_url | string | string | ||||
value | byte (base64 string) | strfmt.Base64 |
CreditBalancesOKBody
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
credit_balances | []CreditBalancesOKBodyCreditBalancesItems0 | []*CreditBalancesOKBodyCreditBalancesItems0 | ||||
pagination | CreditBalancesOKBodyPagination | CreditBalancesOKBodyPagination |
CreditBalancesOKBodyCreditBalancesItems0
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
balance | CreditBalancesOKBodyCreditBalancesItems0Balance | CreditBalancesOKBodyCreditBalancesItems0Balance | ||||
denom | string | string | ||||
owner | string | string |
CreditBalancesOKBodyCreditBalancesItems0Balance
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
active | uint64 (formatted string) | string | ||||
retired | uint64 (formatted string) | string |
CreditBalancesOKBodyPagination
PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest.
message SomeResponse { repeated Bar results = 1; PageResponse page = 2; }
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
next_key | byte (base64 string) | strfmt.Base64 | 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 (formatted string) | string |
credit collection (CreditCollection) ​
GET /empowerchain/empowerchain/plasticcredit/creditcollections/{denom}
Parameters ​
Name | Source | Type | Go type | Separator | Required | Default | Description |
---|---|---|---|---|---|---|---|
denom | path | string | string | ✓ |
All responses ​
Code | Status | Description | Has headers | Schema |
---|---|---|---|---|
200 | OK | A successful response. | schema | |
default | An unexpected error response. | schema |
Responses ​
200 - A successful response. ​
Status: OK
Schema ​
Default Response ​
An unexpected error response.
Schema ​
Inlined models ​
CreditCollectionDefaultBody
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
code | int32 (formatted integer) | int32 | ||||
details | []CreditCollectionDefaultBodyDetailsItems0 | []*CreditCollectionDefaultBodyDetailsItems0 | ||||
error | string | string | ||||
message | string | string |
CreditCollectionDefaultBodyDetailsItems0
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
type_url | string | string | ||||
value | byte (base64 string) | strfmt.Base64 |
CreditCollectionOKBody
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
credit_collection | CreditCollectionOKBodyCreditCollection | CreditCollectionOKBodyCreditCollection |
CreditCollectionOKBodyCreditCollection
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
denom | string | string | ||||
metadata_uris | []string | []string | ||||
project_id | uint64 (formatted string) | string | ||||
total_amount | CreditCollectionOKBodyCreditCollectionTotalAmount | CreditCollectionOKBodyCreditCollectionTotalAmount |
CreditCollectionOKBodyCreditCollectionTotalAmount
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
active | uint64 (formatted string) | string | ||||
retired | uint64 (formatted string) | string |
credit type (CreditType) ​
GET /empowerchain/empowerchain/plasticcredit/credit-types/{credit_type_abbreviation}
Parameters ​
Name | Source | Type | Go type | Separator | Required | Default | Description |
---|---|---|---|---|---|---|---|
credit_type_abbreviation | path | string | string | ✓ |
All responses ​
Code | Status | Description | Has headers | Schema |
---|---|---|---|---|
200 | OK | A successful response. | schema | |
default | An unexpected error response. | schema |
Responses ​
200 - A successful response. ​
Status: OK
Schema ​
Default Response ​
An unexpected error response.
Schema ​
Inlined models ​
CreditTypeDefaultBody
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
code | int32 (formatted integer) | int32 | ||||
details | []CreditTypeDefaultBodyDetailsItems0 | []*CreditTypeDefaultBodyDetailsItems0 | ||||
error | string | string | ||||
message | string | string |
CreditTypeDefaultBodyDetailsItems0
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
type_url | string | string | ||||
value | byte (base64 string) | strfmt.Base64 |
CreditTypeOKBody
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
credit_type | CreditTypeOKBodyCreditType | CreditTypeOKBodyCreditType |
CreditTypeOKBodyCreditType
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
abbreviation | string | string | ||||
issuer_id | uint64 (formatted string) | string | ||||
name | string | string |
credit types (CreditTypes) ​
GET /empowerchain/empowerchain/plasticcredit/credit-types
Parameters ​
Name | Source | Type | Go type | Separator | Required | Default | Description |
---|---|---|---|---|---|---|---|
pagination.count_total | query | boolean | bool | 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.key | query | byte (base64 string) | strfmt.Base64 | 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.limit | query | uint64 (formatted string) | string | 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.offset | query | uint64 (formatted string) | string | 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.reverse | query | boolean | bool | reverse is set to true if results are to be returned in the descending order. |
Since: cosmos-sdk 0.43 |
All responses ​
Code | Status | Description | Has headers | Schema |
---|---|---|---|---|
200 | OK | A successful response. | schema | |
default | An unexpected error response. | schema |
Responses ​
200 - A successful response. ​
Status: OK
Schema ​
Default Response ​
An unexpected error response.
Schema ​
Inlined models ​
CreditTypesDefaultBody
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
code | int32 (formatted integer) | int32 | ||||
details | []CreditTypesDefaultBodyDetailsItems0 | []*CreditTypesDefaultBodyDetailsItems0 | ||||
error | string | string | ||||
message | string | string |
CreditTypesDefaultBodyDetailsItems0
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
type_url | string | string | ||||
value | byte (base64 string) | strfmt.Base64 |
CreditTypesOKBody
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
credit_types | []CreditTypesOKBodyCreditTypesItems0 | []*CreditTypesOKBodyCreditTypesItems0 | ||||
pagination | CreditTypesOKBodyPagination | CreditTypesOKBodyPagination |
CreditTypesOKBodyCreditTypesItems0
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
abbreviation | string | string | ||||
issuer_id | uint64 (formatted string) | string | ||||
name | string | string |
CreditTypesOKBodyPagination
PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest.
message SomeResponse { repeated Bar results = 1; PageResponse page = 2; }
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
next_key | byte (base64 string) | strfmt.Base64 | 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 (formatted string) | string |
issuer (Issuer) ​
GET /empowerchain/empowerchain/plasticcredit/issuers/{issuer_id}
Parameters ​
Name | Source | Type | Go type | Separator | Required | Default | Description |
---|---|---|---|---|---|---|---|
issuer_id | path | uint64 (formatted string) | string | ✓ |
All responses ​
Code | Status | Description | Has headers | Schema |
---|---|---|---|---|
200 | OK | A successful response. | schema | |
default | An unexpected error response. | schema |
Responses ​
200 - A successful response. ​
Status: OK
Schema ​
Default Response ​
An unexpected error response.
Schema ​
Inlined models ​
IssuerDefaultBody
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
code | int32 (formatted integer) | int32 | ||||
details | []IssuerDefaultBodyDetailsItems0 | []*IssuerDefaultBodyDetailsItems0 | ||||
error | string | string | ||||
message | string | string |
IssuerDefaultBodyDetailsItems0
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
type_url | string | string | ||||
value | byte (base64 string) | strfmt.Base64 |
IssuerOKBody
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
issuer | IssuerOKBodyIssuer | IssuerOKBodyIssuer |
IssuerOKBodyIssuer
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
admin | string | string | ||||
description | string | string | ||||
id | uint64 (formatted string) | string | ||||
name | string | string |
issuers (Issuers) ​
GET /empowerchain/empowerchain/plasticcredit/issuers
Parameters ​
Name | Source | Type | Go type | Separator | Required | Default | Description |
---|---|---|---|---|---|---|---|
pagination.count_total | query | boolean | bool | 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.key | query | byte (base64 string) | strfmt.Base64 | 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.limit | query | uint64 (formatted string) | string | 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.offset | query | uint64 (formatted string) | string | 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.reverse | query | boolean | bool | reverse is set to true if results are to be returned in the descending order. |
Since: cosmos-sdk 0.43 |
All responses ​
Code | Status | Description | Has headers | Schema |
---|---|---|---|---|
200 | OK | A successful response. | schema | |
default | An unexpected error response. | schema |
Responses ​
200 - A successful response. ​
Status: OK
Schema ​
Default Response ​
An unexpected error response.
Schema ​
Inlined models ​
IssuersDefaultBody
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
code | int32 (formatted integer) | int32 | ||||
details | []IssuersDefaultBodyDetailsItems0 | []*IssuersDefaultBodyDetailsItems0 | ||||
error | string | string | ||||
message | string | string |
IssuersDefaultBodyDetailsItems0
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
type_url | string | string | ||||
value | byte (base64 string) | strfmt.Base64 |
IssuersOKBody
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
issuers | []IssuersOKBodyIssuersItems0 | []*IssuersOKBodyIssuersItems0 | ||||
pagination | IssuersOKBodyPagination | IssuersOKBodyPagination |
IssuersOKBodyIssuersItems0
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
admin | string | string | ||||
description | string | string | ||||
id | uint64 (formatted string) | string | ||||
name | string | string |
IssuersOKBodyPagination
PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest.
message SomeResponse { repeated Bar results = 1; PageResponse page = 2; }
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
next_key | byte (base64 string) | strfmt.Base64 | 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 (formatted string) | string |
plastic credit params (PlasticCreditParams) ​
GET /empowerchain/empowerchain/plasticcredit/params
All responses ​
Code | Status | Description | Has headers | Schema |
---|---|---|---|---|
200 | OK | A successful response. | schema | |
default | An unexpected error response. | schema |
Responses ​
200 - A successful response. ​
Status: OK
Schema ​
Default Response ​
An unexpected error response.
Schema ​
PlasticCreditParamsDefaultBody
Inlined models ​
PlasticCreditParamsDefaultBody
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
code | int32 (formatted integer) | int32 | ||||
details | []PlasticCreditParamsDefaultBodyDetailsItems0 | []*PlasticCreditParamsDefaultBodyDetailsItems0 | ||||
error | string | string | ||||
message | string | string |
PlasticCreditParamsDefaultBodyDetailsItems0
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
type_url | string | string | ||||
value | byte (base64 string) | strfmt.Base64 |
PlasticCreditParamsOKBody
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
params | PlasticCreditParamsOKBodyParams | PlasticCreditParamsOKBodyParams |
PlasticCreditParamsOKBodyParams
Params defines the parameters for the module.
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
credit_type_creation_fee | PlasticCreditParamsOKBodyParamsCreditTypeCreationFee | PlasticCreditParamsOKBodyParamsCreditTypeCreationFee | ||||
issuer_creator | string | string |
PlasticCreditParamsOKBodyParamsCreditTypeCreationFee
Coin defines a token with a denomination and an amount.
NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto.
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
amount | string | string | ||||
denom | string | string |
project (Project) ​
GET /empowerchain/empowerchain/plasticcredit/projects/{project_id}
Parameters ​
Name | Source | Type | Go type | Separator | Required | Default | Description |
---|---|---|---|---|---|---|---|
project_id | path | uint64 (formatted string) | string | ✓ |
All responses ​
Code | Status | Description | Has headers | Schema |
---|---|---|---|---|
200 | OK | A successful response. | schema | |
default | An unexpected error response. | schema |
Responses ​
200 - A successful response. ​
Status: OK
Schema ​
Default Response ​
An unexpected error response.
Schema ​
Inlined models ​
ProjectDefaultBody
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
code | int32 (formatted integer) | int32 | ||||
details | []ProjectDefaultBodyDetailsItems0 | []*ProjectDefaultBodyDetailsItems0 | ||||
error | string | string | ||||
message | string | string |
ProjectDefaultBodyDetailsItems0
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
type_url | string | string | ||||
value | byte (base64 string) | strfmt.Base64 |
ProjectOKBody
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
project | ProjectOKBodyProject | ProjectOKBodyProject |
ProjectOKBodyProject
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
applicant_id | uint64 (formatted string) | string | ||||
credit_type_abbreviation | string | string | ||||
id | uint64 (formatted string) | string | ||||
name | string | string | ||||
status | string | string | "NEW" |
projects (Projects) ​
GET /empowerchain/empowerchain/plasticcredit/projects
Parameters ​
Name | Source | Type | Go type | Separator | Required | Default | Description |
---|---|---|---|---|---|---|---|
pagination.count_total | query | boolean | bool | 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.key | query | byte (base64 string) | strfmt.Base64 | 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.limit | query | uint64 (formatted string) | string | 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.offset | query | uint64 (formatted string) | string | 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.reverse | query | boolean | bool | reverse is set to true if results are to be returned in the descending order. |
Since: cosmos-sdk 0.43 |
All responses ​
Code | Status | Description | Has headers | Schema |
---|---|---|---|---|
200 | OK | A successful response. | schema | |
default | An unexpected error response. | schema |
Responses ​
200 - A successful response. ​
Status: OK
Schema ​
Default Response ​
An unexpected error response.
Schema ​
Inlined models ​
ProjectsDefaultBody
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
code | int32 (formatted integer) | int32 | ||||
details | []ProjectsDefaultBodyDetailsItems0 | []*ProjectsDefaultBodyDetailsItems0 | ||||
error | string | string | ||||
message | string | string |
ProjectsDefaultBodyDetailsItems0
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
type_url | string | string | ||||
value | byte (base64 string) | strfmt.Base64 |
ProjectsOKBody
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
pagination | ProjectsOKBodyPagination | ProjectsOKBodyPagination | ||||
projects | []ProjectsOKBodyProjectsItems0 | []*ProjectsOKBodyProjectsItems0 |
ProjectsOKBodyPagination
PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest.
message SomeResponse { repeated Bar results = 1; PageResponse page = 2; }
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
next_key | byte (base64 string) | strfmt.Base64 | 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 (formatted string) | string |
ProjectsOKBodyProjectsItems0
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
applicant_id | uint64 (formatted string) | string | ||||
credit_type_abbreviation | string | string | ||||
id | uint64 (formatted string) | string | ||||
name | string | string | ||||
status | string | string | "NEW" |
proof (Proof) ​
GET /empowerchain/empowerchain/proofofexistence/proof/{hash}
Parameters ​
Name | Source | Type | Go type | Separator | Required | Default | Description |
---|---|---|---|---|---|---|---|
hash | path | string | string | ✓ |
All responses ​
Code | Status | Description | Has headers | Schema |
---|---|---|---|---|
200 | OK | A successful response. | schema | |
default | An unexpected error response. | schema |
Responses ​
200 - A successful response. ​
Status: OK
Schema ​
Default Response ​
An unexpected error response.
Schema ​
Inlined models ​
ProofDefaultBody
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
code | int32 (formatted integer) | int32 | ||||
details | []ProofDefaultBodyDetailsItems0 | []*ProofDefaultBodyDetailsItems0 | ||||
error | string | string | ||||
message | string | string |
ProofDefaultBodyDetailsItems0
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
type_url | string | string | ||||
value | byte (base64 string) | strfmt.Base64 |
ProofOKBody
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
metadata | ProofOKBodyMetadata | ProofOKBodyMetadata |
ProofOKBodyMetadata
ProofMetadata is the metadata attached to a specific data proof Because the proof itself is also the key, the data structure is hash -> ProofMetadata The hash is the SHA-256 hash of the data of which is being made a proof for.
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
creator | string | string | ||||
timestamp | date-time (formatted string) | strfmt.DateTime |
Models ​
cosmos.base.query.v1beta1.PageRequest ​
message SomeRequest { Foo some_parameter = 1; PageRequest pagination = 2; }
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
count_total | boolean | bool | 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. | ||||||
key | byte (base64 string) | strfmt.Base64 | 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. | ||||||
limit | uint64 (formatted string) | string | 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. | ||||||
offset | uint64 (formatted string) | string | 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. | ||||||
reverse | boolean | bool | reverse is set to true if results are to be returned in the descending order. |
Since: cosmos-sdk 0.43 | |
cosmos.base.query.v1beta1.PageResponse ​
PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest.
message SomeResponse { repeated Bar results = 1; PageResponse page = 2; }
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
next_key | byte (base64 string) | strfmt.Base64 | 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 (formatted string) | string |
cosmos.base.v1beta1.Coin ​
Coin defines a token with a denomination and an amount.
NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto.
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
amount | string | string | ||||
denom | string | string |
empowerchain.plasticcredit.Applicant ​
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
admin | string | string | ||||
description | string | string | ||||
id | uint64 (formatted string) | string | ||||
name | string | string |
empowerchain.plasticcredit.CreditAmount ​
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
active | uint64 (formatted string) | string | ||||
retired | uint64 (formatted string) | string |
empowerchain.plasticcredit.CreditBalance ​
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
balance | EmpowerchainPlasticcreditCreditBalanceBalance | EmpowerchainPlasticcreditCreditBalanceBalance | ||||
denom | string | string | ||||
owner | string | string |
Inlined models ​
EmpowerchainPlasticcreditCreditBalanceBalance
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
active | uint64 (formatted string) | string | ||||
retired | uint64 (formatted string) | string |
empowerchain.plasticcredit.CreditCollection ​
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
denom | string | string | ||||
metadata_uris | []string | []string | ||||
project_id | uint64 (formatted string) | string | ||||
total_amount | EmpowerchainPlasticcreditCreditCollectionTotalAmount | EmpowerchainPlasticcreditCreditCollectionTotalAmount |
Inlined models ​
EmpowerchainPlasticcreditCreditCollectionTotalAmount
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
active | uint64 (formatted string) | string | ||||
retired | uint64 (formatted string) | string |
empowerchain.plasticcredit.CreditType ​
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
abbreviation | string | string | ||||
issuer_id | uint64 (formatted string) | string | ||||
name | string | string |
empowerchain.plasticcredit.Issuer ​
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
admin | string | string | ||||
description | string | string | ||||
id | uint64 (formatted string) | string | ||||
name | string | string |
empowerchain.plasticcredit.Params ​
Params defines the parameters for the module.
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
credit_type_creation_fee | EmpowerchainPlasticcreditParamsCreditTypeCreationFee | EmpowerchainPlasticcreditParamsCreditTypeCreationFee | ||||
issuer_creator | string | string |
Inlined models ​
EmpowerchainPlasticcreditParamsCreditTypeCreationFee
Coin defines a token with a denomination and an amount.
NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto.
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
amount | string | string | ||||
denom | string | string |
empowerchain.plasticcredit.Project ​
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
applicant_id | uint64 (formatted string) | string | ||||
credit_type_abbreviation | string | string | ||||
id | uint64 (formatted string) | string | ||||
name | string | string | ||||
status | string | string | "NEW" |
empowerchain.plasticcredit.ProjectStatus ​
Name | Type | Go type | Default | Description | Example |
---|---|---|---|---|---|
empowerchain.plasticcredit.ProjectStatus | string | string | "NEW" |
empowerchain.plasticcredit.QueryApplicantResponse ​
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
applicant | EmpowerchainPlasticcreditQueryApplicantResponseApplicant | EmpowerchainPlasticcreditQueryApplicantResponseApplicant |
Inlined models ​
EmpowerchainPlasticcreditQueryApplicantResponseApplicant
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
admin | string | string | ||||
description | string | string | ||||
id | uint64 (formatted string) | string | ||||
name | string | string |
empowerchain.plasticcredit.QueryApplicantsResponse ​
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
applicants | []EmpowerchainPlasticcreditQueryApplicantsResponseApplicantsItems0 | []*EmpowerchainPlasticcreditQueryApplicantsResponseApplicantsItems0 | ||||
pagination | EmpowerchainPlasticcreditQueryApplicantsResponsePagination | EmpowerchainPlasticcreditQueryApplicantsResponsePagination |
Inlined models ​
EmpowerchainPlasticcreditQueryApplicantsResponseApplicantsItems0
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
admin | string | string | ||||
description | string | string | ||||
id | uint64 (formatted string) | string | ||||
name | string | string |
EmpowerchainPlasticcreditQueryApplicantsResponsePagination
PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest.
message SomeResponse { repeated Bar results = 1; PageResponse page = 2; }
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
next_key | byte (base64 string) | strfmt.Base64 | 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 (formatted string) | string |
empowerchain.plasticcredit.QueryCreditBalanceResponse ​
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
balance | EmpowerchainPlasticcreditQueryCreditBalanceResponseBalance | EmpowerchainPlasticcreditQueryCreditBalanceResponseBalance |
Inlined models ​
EmpowerchainPlasticcreditQueryCreditBalanceResponseBalance
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
balance | EmpowerchainPlasticcreditQueryCreditBalanceResponseBalanceBalance | EmpowerchainPlasticcreditQueryCreditBalanceResponseBalanceBalance | ||||
denom | string | string | ||||
owner | string | string |
EmpowerchainPlasticcreditQueryCreditBalanceResponseBalanceBalance
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
active | uint64 (formatted string) | string | ||||
retired | uint64 (formatted string) | string |
empowerchain.plasticcredit.QueryCreditBalancesResponse ​
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
credit_balances | []EmpowerchainPlasticcreditQueryCreditBalancesResponseCreditBalancesItems0 | []*EmpowerchainPlasticcreditQueryCreditBalancesResponseCreditBalancesItems0 | ||||
pagination | EmpowerchainPlasticcreditQueryCreditBalancesResponsePagination | EmpowerchainPlasticcreditQueryCreditBalancesResponsePagination |
Inlined models ​
EmpowerchainPlasticcreditQueryCreditBalancesResponseCreditBalancesItems0
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
balance | EmpowerchainPlasticcreditQueryCreditBalancesResponseCreditBalancesItems0Balance | EmpowerchainPlasticcreditQueryCreditBalancesResponseCreditBalancesItems0Balance | ||||
denom | string | string | ||||
owner | string | string |
EmpowerchainPlasticcreditQueryCreditBalancesResponseCreditBalancesItems0Balance
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
active | uint64 (formatted string) | string | ||||
retired | uint64 (formatted string) | string |
EmpowerchainPlasticcreditQueryCreditBalancesResponsePagination
PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest.
message SomeResponse { repeated Bar results = 1; PageResponse page = 2; }
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
next_key | byte (base64 string) | strfmt.Base64 | 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 (formatted string) | string |
empowerchain.plasticcredit.QueryCreditCollectionResponse ​
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
credit_collection | EmpowerchainPlasticcreditQueryCreditCollectionResponseCreditCollection | EmpowerchainPlasticcreditQueryCreditCollectionResponseCreditCollection |
Inlined models ​
EmpowerchainPlasticcreditQueryCreditCollectionResponseCreditCollection
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
denom | string | string | ||||
metadata_uris | []string | []string | ||||
project_id | uint64 (formatted string) | string | ||||
total_amount | EmpowerchainPlasticcreditQueryCreditCollectionResponseCreditCollectionTotalAmount | EmpowerchainPlasticcreditQueryCreditCollectionResponseCreditCollectionTotalAmount |
EmpowerchainPlasticcreditQueryCreditCollectionResponseCreditCollectionTotalAmount
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
active | uint64 (formatted string) | string | ||||
retired | uint64 (formatted string) | string |
empowerchain.plasticcredit.QueryCreditTypeResponse ​
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
credit_type | EmpowerchainPlasticcreditQueryCreditTypeResponseCreditType | EmpowerchainPlasticcreditQueryCreditTypeResponseCreditType |
Inlined models ​
EmpowerchainPlasticcreditQueryCreditTypeResponseCreditType
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
abbreviation | string | string | ||||
issuer_id | uint64 (formatted string) | string | ||||
name | string | string |
empowerchain.plasticcredit.QueryCreditTypesResponse ​
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
credit_types | []EmpowerchainPlasticcreditQueryCreditTypesResponseCreditTypesItems0 | []*EmpowerchainPlasticcreditQueryCreditTypesResponseCreditTypesItems0 | ||||
pagination | EmpowerchainPlasticcreditQueryCreditTypesResponsePagination | EmpowerchainPlasticcreditQueryCreditTypesResponsePagination |
Inlined models ​
EmpowerchainPlasticcreditQueryCreditTypesResponseCreditTypesItems0
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
abbreviation | string | string | ||||
issuer_id | uint64 (formatted string) | string | ||||
name | string | string |
EmpowerchainPlasticcreditQueryCreditTypesResponsePagination
PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest.
message SomeResponse { repeated Bar results = 1; PageResponse page = 2; }
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
next_key | byte (base64 string) | strfmt.Base64 | 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 (formatted string) | string |
empowerchain.plasticcredit.QueryIssuerResponse ​
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
issuer | EmpowerchainPlasticcreditQueryIssuerResponseIssuer | EmpowerchainPlasticcreditQueryIssuerResponseIssuer |
Inlined models ​
EmpowerchainPlasticcreditQueryIssuerResponseIssuer
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
admin | string | string | ||||
description | string | string | ||||
id | uint64 (formatted string) | string | ||||
name | string | string |
empowerchain.plasticcredit.QueryIssuersResponse ​
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
issuers | []EmpowerchainPlasticcreditQueryIssuersResponseIssuersItems0 | []*EmpowerchainPlasticcreditQueryIssuersResponseIssuersItems0 | ||||
pagination | EmpowerchainPlasticcreditQueryIssuersResponsePagination | EmpowerchainPlasticcreditQueryIssuersResponsePagination |
Inlined models ​
EmpowerchainPlasticcreditQueryIssuersResponseIssuersItems0
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
admin | string | string | ||||
description | string | string | ||||
id | uint64 (formatted string) | string | ||||
name | string | string |
EmpowerchainPlasticcreditQueryIssuersResponsePagination
PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest.
message SomeResponse { repeated Bar results = 1; PageResponse page = 2; }
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
next_key | byte (base64 string) | strfmt.Base64 | 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 (formatted string) | string |
empowerchain.plasticcredit.QueryParamsResponse ​
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
params | EmpowerchainPlasticcreditQueryParamsResponseParams | EmpowerchainPlasticcreditQueryParamsResponseParams |
Inlined models ​
EmpowerchainPlasticcreditQueryParamsResponseParams
Params defines the parameters for the module.
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
credit_type_creation_fee | EmpowerchainPlasticcreditQueryParamsResponseParamsCreditTypeCreationFee | EmpowerchainPlasticcreditQueryParamsResponseParamsCreditTypeCreationFee | ||||
issuer_creator | string | string |
EmpowerchainPlasticcreditQueryParamsResponseParamsCreditTypeCreationFee
Coin defines a token with a denomination and an amount.
NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto.
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
amount | string | string | ||||
denom | string | string |
empowerchain.plasticcredit.QueryProjectResponse ​
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
project | EmpowerchainPlasticcreditQueryProjectResponseProject | EmpowerchainPlasticcreditQueryProjectResponseProject |
Inlined models ​
EmpowerchainPlasticcreditQueryProjectResponseProject
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
applicant_id | uint64 (formatted string) | string | ||||
credit_type_abbreviation | string | string | ||||
id | uint64 (formatted string) | string | ||||
name | string | string | ||||
status | string | string | "NEW" |
empowerchain.plasticcredit.QueryProjectsResponse ​
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
pagination | EmpowerchainPlasticcreditQueryProjectsResponsePagination | EmpowerchainPlasticcreditQueryProjectsResponsePagination | ||||
projects | []EmpowerchainPlasticcreditQueryProjectsResponseProjectsItems0 | []*EmpowerchainPlasticcreditQueryProjectsResponseProjectsItems0 |
Inlined models ​
EmpowerchainPlasticcreditQueryProjectsResponsePagination
PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest.
message SomeResponse { repeated Bar results = 1; PageResponse page = 2; }
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
next_key | byte (base64 string) | strfmt.Base64 | 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 (formatted string) | string |
EmpowerchainPlasticcreditQueryProjectsResponseProjectsItems0
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
applicant_id | uint64 (formatted string) | string | ||||
credit_type_abbreviation | string | string | ||||
id | uint64 (formatted string) | string | ||||
name | string | string | ||||
status | string | string | "NEW" |
empowerchain.proofofexistence.ProofMetadata ​
ProofMetadata is the metadata attached to a specific data proof Because the proof itself is also the key, the data structure is hash -> ProofMetadata The hash is the SHA-256 hash of the data of which is being made a proof for.
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
creator | string | string | ||||
timestamp | date-time (formatted string) | strfmt.DateTime |
empowerchain.proofofexistence.QueryProofResponse ​
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
metadata | EmpowerchainProofofexistenceQueryProofResponseMetadata | EmpowerchainProofofexistenceQueryProofResponseMetadata |
Inlined models ​
EmpowerchainProofofexistenceQueryProofResponseMetadata
ProofMetadata is the metadata attached to a specific data proof Because the proof itself is also the key, the data structure is hash -> ProofMetadata The hash is the SHA-256 hash of the data of which is being made a proof for.
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
creator | string | string | ||||
timestamp | date-time (formatted string) | strfmt.DateTime |
google.protobuf.Any ​
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
type_url | string | string | ||||
value | byte (base64 string) | strfmt.Base64 |
grpc.gateway.runtime.Error ​
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
code | int32 (formatted integer) | int32 | ||||
details | []GrpcGatewayRuntimeErrorDetailsItems0 | []*GrpcGatewayRuntimeErrorDetailsItems0 | ||||
error | string | string | ||||
message | string | string |
Inlined models ​
GrpcGatewayRuntimeErrorDetailsItems0
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
type_url | string | string | ||||
value | byte (base64 string) | strfmt.Base64 |