Appearance
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/creditbalances/{owner}/ | credit balance | |
GET | /empowerchain/empowerchain/plasticcredit/credit-classes/ | credit class | |
GET | /empowerchain/empowerchain/plasticcredit/credit-classes | credit classes | |
GET | /empowerchain/empowerchain/plasticcredit/creditcollections/ | credit collection | |
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/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 |
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 class (CreditClass)
GET /empowerchain/empowerchain/plasticcredit/credit-classes/{credit_class_abbreviation}
Parameters
Name | Source | Type | Go type | Separator | Required | Default | Description |
---|---|---|---|---|---|---|---|
credit_class_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
CreditClassDefaultBody
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
code | int32 (formatted integer) | int32 | ||||
details | []CreditClassDefaultBodyDetailsItems0 | []*CreditClassDefaultBodyDetailsItems0 | ||||
error | string | string | ||||
message | string | string |
CreditClassDefaultBodyDetailsItems0
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
type_url | string | string | ||||
value | byte (base64 string) | strfmt.Base64 |
CreditClassOKBody
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
credit_class | CreditClassOKBodyCreditClass | CreditClassOKBodyCreditClass |
CreditClassOKBodyCreditClass
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
abbreviation | string | string | ||||
issuer_id | uint64 (formatted string) | string | ||||
name | string | string |
credit classes (CreditClasses)
GET /empowerchain/empowerchain/plasticcredit/credit-classes
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
CreditClassesDefaultBody
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
code | int32 (formatted integer) | int32 | ||||
details | []CreditClassesDefaultBodyDetailsItems0 | []*CreditClassesDefaultBodyDetailsItems0 | ||||
error | string | string | ||||
message | string | string |
CreditClassesDefaultBodyDetailsItems0
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
type_url | string | string | ||||
value | byte (base64 string) | strfmt.Base64 |
CreditClassesOKBody
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
credit_classes | []CreditClassesOKBodyCreditClassesItems0 | []*CreditClassesOKBodyCreditClassesItems0 | ||||
pagination | CreditClassesOKBodyPagination | CreditClassesOKBodyPagination |
CreditClassesOKBodyCreditClassesItems0
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
abbreviation | string | string | ||||
issuer_id | uint64 (formatted string) | string | ||||
name | string | string |
CreditClassesOKBodyPagination
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 | ||||
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 |
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_class_creation_fee | PlasticCreditParamsOKBodyParamsCreditClassCreationFee | PlasticCreditParamsOKBodyParamsCreditClassCreationFee | ||||
issuer_creator | string | string |
PlasticCreditParamsOKBodyParamsCreditClassCreationFee
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_class_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.CreditClass
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
abbreviation | string | string | ||||
issuer_id | uint64 (formatted string) | string | ||||
name | string | string |
empowerchain.plasticcredit.CreditCollection
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
denom | 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.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_class_creation_fee | EmpowerchainPlasticcreditParamsCreditClassCreationFee | EmpowerchainPlasticcreditParamsCreditClassCreationFee | ||||
issuer_creator | string | string |
Inlined models
EmpowerchainPlasticcreditParamsCreditClassCreationFee
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_class_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.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.QueryCreditClassResponse
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
credit_class | EmpowerchainPlasticcreditQueryCreditClassResponseCreditClass | EmpowerchainPlasticcreditQueryCreditClassResponseCreditClass |
Inlined models
EmpowerchainPlasticcreditQueryCreditClassResponseCreditClass
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
abbreviation | string | string | ||||
issuer_id | uint64 (formatted string) | string | ||||
name | string | string |
empowerchain.plasticcredit.QueryCreditClassesResponse
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
credit_classes | []EmpowerchainPlasticcreditQueryCreditClassesResponseCreditClassesItems0 | []*EmpowerchainPlasticcreditQueryCreditClassesResponseCreditClassesItems0 | ||||
pagination | EmpowerchainPlasticcreditQueryCreditClassesResponsePagination | EmpowerchainPlasticcreditQueryCreditClassesResponsePagination |
Inlined models
EmpowerchainPlasticcreditQueryCreditClassesResponseCreditClassesItems0
Properties
Name | Type | Go type | Required | Default | Description | Example |
---|---|---|---|---|---|---|
abbreviation | string | string | ||||
issuer_id | uint64 (formatted string) | string | ||||
name | string | string |
EmpowerchainPlasticcreditQueryCreditClassesResponsePagination
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 | ||||
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.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_class_creation_fee | EmpowerchainPlasticcreditQueryParamsResponseParamsCreditClassCreationFee | EmpowerchainPlasticcreditQueryParamsResponseParamsCreditClassCreationFee | ||||
issuer_creator | string | string |
EmpowerchainPlasticcreditQueryParamsResponseParamsCreditClassCreationFee
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_class_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 |