forked from cerc-io/laconicd-deprecated
update fork
This commit is contained in:
Vendored
+2
-1
File diff suppressed because one or more lines are too long
Vendored
+394
-87
@@ -1,10 +1,10 @@
|
||||
swagger: '2.0'
|
||||
info:
|
||||
title: Ethermint Chain - Legacy REST and gRPC Gateway docs
|
||||
description: 'A REST interface for state queries, legacy transactions'
|
||||
description: A REST interface for state queries, legacy transactions
|
||||
version: 1.0.0
|
||||
paths:
|
||||
'/ethermint/evm/v1/account/{address}':
|
||||
/ethermint/evm/v1/account/{address}:
|
||||
get:
|
||||
summary: Account queries an Ethereum account.
|
||||
operationId: Account
|
||||
@@ -224,7 +224,7 @@ paths:
|
||||
type: string
|
||||
tags:
|
||||
- Query
|
||||
'/ethermint/evm/v1/balances/{address}':
|
||||
/ethermint/evm/v1/balances/{address}:
|
||||
get:
|
||||
summary: |-
|
||||
Balance queries the balance of a the EVM denomination for a single
|
||||
@@ -439,7 +439,215 @@ paths:
|
||||
type: string
|
||||
tags:
|
||||
- Query
|
||||
'/ethermint/evm/v1/codes/{address}':
|
||||
/ethermint/evm/v1/base_fee:
|
||||
get:
|
||||
summary: >-
|
||||
BaseFee queries the base fee of the parent block of the current block,
|
||||
|
||||
it's similar to feemarket module's method, but also checks london
|
||||
hardfork status.
|
||||
operationId: BaseFee
|
||||
responses:
|
||||
'200':
|
||||
description: A successful response.
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
base_fee:
|
||||
type: string
|
||||
description: BaseFeeResponse returns the EIP1559 base fee.
|
||||
default:
|
||||
description: An unexpected error response.
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
error:
|
||||
type: string
|
||||
code:
|
||||
type: integer
|
||||
format: int32
|
||||
message:
|
||||
type: string
|
||||
details:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
type_url:
|
||||
type: string
|
||||
description: >-
|
||||
A URL/resource name that uniquely identifies the type of
|
||||
the serialized
|
||||
|
||||
protocol buffer message. This string must contain at
|
||||
least
|
||||
|
||||
one "/" character. The last segment of the URL's path
|
||||
must represent
|
||||
|
||||
the fully qualified name of the type (as in
|
||||
|
||||
`path/google.protobuf.Duration`). The name should be in
|
||||
a canonical form
|
||||
|
||||
(e.g., leading "." is not accepted).
|
||||
|
||||
|
||||
In practice, teams usually precompile into the binary
|
||||
all types that they
|
||||
|
||||
expect it to use in the context of Any. However, for
|
||||
URLs which use the
|
||||
|
||||
scheme `http`, `https`, or no scheme, one can optionally
|
||||
set up a type
|
||||
|
||||
server that maps type URLs to message definitions as
|
||||
follows:
|
||||
|
||||
|
||||
* If no scheme is provided, `https` is assumed.
|
||||
|
||||
* An HTTP GET on the URL must yield a
|
||||
[google.protobuf.Type][]
|
||||
value in binary format, or produce an error.
|
||||
* Applications are allowed to cache lookup results based
|
||||
on the
|
||||
URL, or have them precompiled into a binary to avoid any
|
||||
lookup. Therefore, binary compatibility needs to be preserved
|
||||
on changes to types. (Use versioned type names to manage
|
||||
breaking changes.)
|
||||
|
||||
Note: this functionality is not currently available in
|
||||
the official
|
||||
|
||||
protobuf release, and it is not used for type URLs
|
||||
beginning with
|
||||
|
||||
type.googleapis.com.
|
||||
|
||||
|
||||
Schemes other than `http`, `https` (or the empty scheme)
|
||||
might be
|
||||
|
||||
used with implementation specific semantics.
|
||||
value:
|
||||
type: string
|
||||
format: byte
|
||||
description: >-
|
||||
Must be a valid serialized protocol buffer of the above
|
||||
specified type.
|
||||
description: >-
|
||||
`Any` contains an arbitrary serialized protocol buffer
|
||||
message along with a
|
||||
|
||||
URL that describes the type of the serialized message.
|
||||
|
||||
|
||||
Protobuf library provides support to pack/unpack Any values
|
||||
in the form
|
||||
|
||||
of utility functions or additional generated methods of the
|
||||
Any type.
|
||||
|
||||
|
||||
Example 1: Pack and unpack a message in C++.
|
||||
|
||||
Foo foo = ...;
|
||||
Any any;
|
||||
any.PackFrom(foo);
|
||||
...
|
||||
if (any.UnpackTo(&foo)) {
|
||||
...
|
||||
}
|
||||
|
||||
Example 2: Pack and unpack a message in Java.
|
||||
|
||||
Foo foo = ...;
|
||||
Any any = Any.pack(foo);
|
||||
...
|
||||
if (any.is(Foo.class)) {
|
||||
foo = any.unpack(Foo.class);
|
||||
}
|
||||
|
||||
Example 3: Pack and unpack a message in Python.
|
||||
|
||||
foo = Foo(...)
|
||||
any = Any()
|
||||
any.Pack(foo)
|
||||
...
|
||||
if any.Is(Foo.DESCRIPTOR):
|
||||
any.Unpack(foo)
|
||||
...
|
||||
|
||||
Example 4: Pack and unpack a message in Go
|
||||
|
||||
foo := &pb.Foo{...}
|
||||
any, err := ptypes.MarshalAny(foo)
|
||||
...
|
||||
foo := &pb.Foo{}
|
||||
if err := ptypes.UnmarshalAny(any, foo); err != nil {
|
||||
...
|
||||
}
|
||||
|
||||
The pack methods provided by protobuf library will by
|
||||
default use
|
||||
|
||||
'type.googleapis.com/full.type.name' as the type URL and the
|
||||
unpack
|
||||
|
||||
methods only use the fully qualified type name after the
|
||||
last '/'
|
||||
|
||||
in the type URL, for example "foo.bar.com/x/y.z" will yield
|
||||
type
|
||||
|
||||
name "y.z".
|
||||
|
||||
|
||||
|
||||
JSON
|
||||
|
||||
====
|
||||
|
||||
The JSON representation of an `Any` value uses the regular
|
||||
|
||||
representation of the deserialized, embedded message, with
|
||||
an
|
||||
|
||||
additional field `@type` which contains the type URL.
|
||||
Example:
|
||||
|
||||
package google.profile;
|
||||
message Person {
|
||||
string first_name = 1;
|
||||
string last_name = 2;
|
||||
}
|
||||
|
||||
{
|
||||
"@type": "type.googleapis.com/google.profile.Person",
|
||||
"firstName": <string>,
|
||||
"lastName": <string>
|
||||
}
|
||||
|
||||
If the embedded message type is well-known and has a custom
|
||||
JSON
|
||||
|
||||
representation, that representation will be embedded adding
|
||||
a field
|
||||
|
||||
`value` which holds the custom JSON in addition to the
|
||||
`@type`
|
||||
|
||||
field. Example (for message [google.protobuf.Duration][]):
|
||||
|
||||
{
|
||||
"@type": "type.googleapis.com/google.protobuf.Duration",
|
||||
"value": "1.212s"
|
||||
}
|
||||
tags:
|
||||
- Query
|
||||
/ethermint/evm/v1/codes/{address}:
|
||||
get:
|
||||
summary: Code queries the balance of all coins for a single account.
|
||||
operationId: Code
|
||||
@@ -653,7 +861,7 @@ paths:
|
||||
type: string
|
||||
tags:
|
||||
- Query
|
||||
'/ethermint/evm/v1/cosmos_account/{address}':
|
||||
/ethermint/evm/v1/cosmos_account/{address}:
|
||||
get:
|
||||
summary: CosmosAccount queries an Ethereum account's Cosmos Address.
|
||||
operationId: CosmosAccount
|
||||
@@ -1131,7 +1339,7 @@ paths:
|
||||
data:
|
||||
type: string
|
||||
format: byte
|
||||
title: 'supplied by the contract, usually ABI-encoded'
|
||||
title: supplied by the contract, usually ABI-encoded
|
||||
block_number:
|
||||
type: string
|
||||
format: uint64
|
||||
@@ -1500,11 +1708,28 @@ paths:
|
||||
title: >-
|
||||
London switch block (nil = no fork, 0 = already on
|
||||
london)
|
||||
arrow_glacier_block:
|
||||
type: string
|
||||
title: >-
|
||||
Eip-4345 (bomb delay) switch block (nil = no fork, 0 =
|
||||
already activated)
|
||||
merge_fork_block:
|
||||
type: string
|
||||
title: >-
|
||||
EIP-3675 (TheMerge) switch block (nil = no fork, 0 =
|
||||
already in merge proceedings)
|
||||
description: >-
|
||||
ChainConfig defines the Ethereum ChainConfig parameters
|
||||
using *sdk.Int values
|
||||
|
||||
instead of *big.Int.
|
||||
allow_unprotected_txs:
|
||||
type: boolean
|
||||
description: >-
|
||||
Allow unprotected transactions defines if replay-protected
|
||||
(i.e non EIP155
|
||||
|
||||
signed) transactions can be executed on the state machine.
|
||||
title: Params defines the EVM module parameters
|
||||
description: >-
|
||||
QueryParamsResponse defines the response type for querying x/evm
|
||||
@@ -1700,7 +1925,7 @@ paths:
|
||||
}
|
||||
tags:
|
||||
- Query
|
||||
'/ethermint/evm/v1/storage/{address}/{key}':
|
||||
/ethermint/evm/v1/storage/{address}/{key}:
|
||||
get:
|
||||
summary: Storage queries the balance of all coins for a single account.
|
||||
operationId: Storage
|
||||
@@ -2166,13 +2391,13 @@ paths:
|
||||
required: false
|
||||
type: boolean
|
||||
- name: trace_config.limit
|
||||
description: 'maximum length of output, but zero means unlimited.'
|
||||
description: maximum length of output, but zero means unlimited.
|
||||
in: query
|
||||
required: false
|
||||
type: integer
|
||||
format: int32
|
||||
- name: trace_config.overrides.homestead_block
|
||||
description: 'Homestead switch block (nil no fork, 0 = already homestead).'
|
||||
description: Homestead switch block (nil no fork, 0 = already homestead).
|
||||
in: query
|
||||
required: false
|
||||
type: string
|
||||
@@ -2213,12 +2438,12 @@ paths:
|
||||
required: false
|
||||
type: string
|
||||
- name: trace_config.overrides.byzantium_block
|
||||
description: 'Byzantium switch block (nil no fork, 0 = already on byzantium).'
|
||||
description: Byzantium switch block (nil no fork, 0 = already on byzantium).
|
||||
in: query
|
||||
required: false
|
||||
type: string
|
||||
- name: trace_config.overrides.constantinople_block
|
||||
description: 'Constantinople switch block (nil no fork, 0 = already activated).'
|
||||
description: Constantinople switch block (nil no fork, 0 = already activated).
|
||||
in: query
|
||||
required: false
|
||||
type: string
|
||||
@@ -2228,7 +2453,7 @@ paths:
|
||||
required: false
|
||||
type: string
|
||||
- name: trace_config.overrides.istanbul_block
|
||||
description: 'Istanbul switch block (nil no fork, 0 = already on istanbul).'
|
||||
description: Istanbul switch block (nil no fork, 0 = already on istanbul).
|
||||
in: query
|
||||
required: false
|
||||
type: string
|
||||
@@ -2240,12 +2465,26 @@ paths:
|
||||
required: false
|
||||
type: string
|
||||
- name: trace_config.overrides.berlin_block
|
||||
description: 'Berlin switch block (nil = no fork, 0 = already on berlin).'
|
||||
description: Berlin switch block (nil = no fork, 0 = already on berlin).
|
||||
in: query
|
||||
required: false
|
||||
type: string
|
||||
- name: trace_config.overrides.london_block
|
||||
description: 'London switch block (nil = no fork, 0 = already on london).'
|
||||
description: London switch block (nil = no fork, 0 = already on london).
|
||||
in: query
|
||||
required: false
|
||||
type: string
|
||||
- name: trace_config.overrides.arrow_glacier_block
|
||||
description: >-
|
||||
Eip-4345 (bomb delay) switch block (nil = no fork, 0 = already
|
||||
activated).
|
||||
in: query
|
||||
required: false
|
||||
type: string
|
||||
- name: trace_config.overrides.merge_fork_block
|
||||
description: >-
|
||||
EIP-3675 (TheMerge) switch block (nil = no fork, 0 = already in
|
||||
merge proceedings).
|
||||
in: query
|
||||
required: false
|
||||
type: string
|
||||
@@ -2562,12 +2801,6 @@ paths:
|
||||
in: query
|
||||
required: false
|
||||
type: string
|
||||
- name: tx_index
|
||||
description: transaction index.
|
||||
in: query
|
||||
required: false
|
||||
type: string
|
||||
format: uint64
|
||||
- name: trace_config.tracer
|
||||
description: custom javascript tracer.
|
||||
in: query
|
||||
@@ -2604,13 +2837,13 @@ paths:
|
||||
required: false
|
||||
type: boolean
|
||||
- name: trace_config.limit
|
||||
description: 'maximum length of output, but zero means unlimited.'
|
||||
description: maximum length of output, but zero means unlimited.
|
||||
in: query
|
||||
required: false
|
||||
type: integer
|
||||
format: int32
|
||||
- name: trace_config.overrides.homestead_block
|
||||
description: 'Homestead switch block (nil no fork, 0 = already homestead).'
|
||||
description: Homestead switch block (nil no fork, 0 = already homestead).
|
||||
in: query
|
||||
required: false
|
||||
type: string
|
||||
@@ -2651,12 +2884,12 @@ paths:
|
||||
required: false
|
||||
type: string
|
||||
- name: trace_config.overrides.byzantium_block
|
||||
description: 'Byzantium switch block (nil no fork, 0 = already on byzantium).'
|
||||
description: Byzantium switch block (nil no fork, 0 = already on byzantium).
|
||||
in: query
|
||||
required: false
|
||||
type: string
|
||||
- name: trace_config.overrides.constantinople_block
|
||||
description: 'Constantinople switch block (nil no fork, 0 = already activated).'
|
||||
description: Constantinople switch block (nil no fork, 0 = already activated).
|
||||
in: query
|
||||
required: false
|
||||
type: string
|
||||
@@ -2666,7 +2899,7 @@ paths:
|
||||
required: false
|
||||
type: string
|
||||
- name: trace_config.overrides.istanbul_block
|
||||
description: 'Istanbul switch block (nil no fork, 0 = already on istanbul).'
|
||||
description: Istanbul switch block (nil no fork, 0 = already on istanbul).
|
||||
in: query
|
||||
required: false
|
||||
type: string
|
||||
@@ -2678,12 +2911,26 @@ paths:
|
||||
required: false
|
||||
type: string
|
||||
- name: trace_config.overrides.berlin_block
|
||||
description: 'Berlin switch block (nil = no fork, 0 = already on berlin).'
|
||||
description: Berlin switch block (nil = no fork, 0 = already on berlin).
|
||||
in: query
|
||||
required: false
|
||||
type: string
|
||||
- name: trace_config.overrides.london_block
|
||||
description: 'London switch block (nil = no fork, 0 = already on london).'
|
||||
description: London switch block (nil = no fork, 0 = already on london).
|
||||
in: query
|
||||
required: false
|
||||
type: string
|
||||
- name: trace_config.overrides.arrow_glacier_block
|
||||
description: >-
|
||||
Eip-4345 (bomb delay) switch block (nil = no fork, 0 = already
|
||||
activated).
|
||||
in: query
|
||||
required: false
|
||||
type: string
|
||||
- name: trace_config.overrides.merge_fork_block
|
||||
description: >-
|
||||
EIP-3675 (TheMerge) switch block (nil = no fork, 0 = already in
|
||||
merge proceedings).
|
||||
in: query
|
||||
required: false
|
||||
type: string
|
||||
@@ -2716,7 +2963,7 @@ paths:
|
||||
format: date-time
|
||||
tags:
|
||||
- Query
|
||||
'/ethermint/evm/v1/validator_account/{cons_address}':
|
||||
/ethermint/evm/v1/validator_account/{cons_address}:
|
||||
get:
|
||||
summary: >-
|
||||
ValidatorAccount queries an Ethereum account's from a validator
|
||||
@@ -3397,7 +3644,7 @@ paths:
|
||||
type: boolean
|
||||
tags:
|
||||
- Query
|
||||
'/cosmos/auth/v1beta1/accounts/{address}':
|
||||
/cosmos/auth/v1beta1/accounts/{address}:
|
||||
get:
|
||||
summary: Account returns account details based on address.
|
||||
operationId: AuthAccount
|
||||
@@ -4001,7 +4248,7 @@ paths:
|
||||
}
|
||||
tags:
|
||||
- Query
|
||||
'/cosmos/bank/v1beta1/balances/{address}':
|
||||
/cosmos/bank/v1beta1/balances/{address}:
|
||||
get:
|
||||
summary: AllBalances queries the balance of all coins for a single account.
|
||||
operationId: AllBalances
|
||||
@@ -4135,7 +4382,7 @@ paths:
|
||||
type: boolean
|
||||
tags:
|
||||
- Query
|
||||
'/cosmos/bank/v1beta1/balances/{address}/{denom}':
|
||||
/cosmos/bank/v1beta1/balances/{address}/{denom}:
|
||||
get:
|
||||
summary: Balance queries the balance of a single coin for a single account.
|
||||
operationId: BankBalance
|
||||
@@ -4383,7 +4630,7 @@ paths:
|
||||
type: boolean
|
||||
tags:
|
||||
- Query
|
||||
'/cosmos/bank/v1beta1/denoms_metadata/{denom}':
|
||||
/cosmos/bank/v1beta1/denoms_metadata/{denom}:
|
||||
get:
|
||||
summary: DenomsMetadata queries the client metadata of a given coin denomination.
|
||||
operationId: DenomMetadata
|
||||
@@ -4681,7 +4928,7 @@ paths:
|
||||
type: boolean
|
||||
tags:
|
||||
- Query
|
||||
'/cosmos/bank/v1beta1/supply/{denom}':
|
||||
/cosmos/bank/v1beta1/supply/{denom}:
|
||||
get:
|
||||
summary: SupplyOf queries the supply of a single coin.
|
||||
operationId: SupplyOf
|
||||
@@ -4797,7 +5044,7 @@ paths:
|
||||
format: byte
|
||||
tags:
|
||||
- Query
|
||||
'/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards':
|
||||
/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards:
|
||||
get:
|
||||
summary: |-
|
||||
DelegationTotalRewards queries the total rewards accrued by a each
|
||||
@@ -4890,7 +5137,7 @@ paths:
|
||||
type: string
|
||||
tags:
|
||||
- Query
|
||||
'/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards/{validator_address}':
|
||||
/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards/{validator_address}:
|
||||
get:
|
||||
summary: DelegationRewards queries the total rewards accrued by a delegation.
|
||||
operationId: DelegationRewards
|
||||
@@ -4957,7 +5204,7 @@ paths:
|
||||
type: string
|
||||
tags:
|
||||
- Query
|
||||
'/cosmos/distribution/v1beta1/delegators/{delegator_address}/validators':
|
||||
/cosmos/distribution/v1beta1/delegators/{delegator_address}/validators:
|
||||
get:
|
||||
summary: DelegatorValidators queries the validators of a delegator.
|
||||
operationId: DistDelegatorValidators
|
||||
@@ -5007,7 +5254,7 @@ paths:
|
||||
type: string
|
||||
tags:
|
||||
- Query
|
||||
'/cosmos/distribution/v1beta1/delegators/{delegator_address}/withdraw_address':
|
||||
/cosmos/distribution/v1beta1/delegators/{delegator_address}/withdraw_address:
|
||||
get:
|
||||
summary: DelegatorWithdrawAddress queries withdraw address of a delegator.
|
||||
operationId: DelegatorWithdrawAddress
|
||||
@@ -5102,7 +5349,7 @@ paths:
|
||||
format: byte
|
||||
tags:
|
||||
- Query
|
||||
'/cosmos/distribution/v1beta1/validators/{validator_address}/commission':
|
||||
/cosmos/distribution/v1beta1/validators/{validator_address}/commission:
|
||||
get:
|
||||
summary: ValidatorCommission queries accumulated commission for a validator.
|
||||
operationId: ValidatorCommission
|
||||
@@ -5167,7 +5414,7 @@ paths:
|
||||
type: string
|
||||
tags:
|
||||
- Query
|
||||
'/cosmos/distribution/v1beta1/validators/{validator_address}/outstanding_rewards':
|
||||
/cosmos/distribution/v1beta1/validators/{validator_address}/outstanding_rewards:
|
||||
get:
|
||||
summary: ValidatorOutstandingRewards queries rewards of a validator address.
|
||||
operationId: ValidatorOutstandingRewards
|
||||
@@ -5239,7 +5486,7 @@ paths:
|
||||
type: string
|
||||
tags:
|
||||
- Query
|
||||
'/cosmos/distribution/v1beta1/validators/{validator_address}/slashes':
|
||||
/cosmos/distribution/v1beta1/validators/{validator_address}/slashes:
|
||||
get:
|
||||
summary: ValidatorSlashes queries slash events of a validator.
|
||||
operationId: ValidatorSlashes
|
||||
@@ -5536,7 +5783,7 @@ paths:
|
||||
format: byte
|
||||
tags:
|
||||
- Query
|
||||
'/cosmos/gov/v1beta1/params/{params_type}':
|
||||
/cosmos/gov/v1beta1/params/{params_type}:
|
||||
get:
|
||||
summary: Params queries all parameters of the gov module.
|
||||
operationId: GovParams
|
||||
@@ -6380,7 +6627,7 @@ paths:
|
||||
type: boolean
|
||||
tags:
|
||||
- Query
|
||||
'/cosmos/gov/v1beta1/proposals/{proposal_id}':
|
||||
/cosmos/gov/v1beta1/proposals/{proposal_id}:
|
||||
get:
|
||||
summary: Proposal queries proposal details based on ProposalID.
|
||||
operationId: Proposal
|
||||
@@ -6843,7 +7090,7 @@ paths:
|
||||
format: uint64
|
||||
tags:
|
||||
- Query
|
||||
'/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits':
|
||||
/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits:
|
||||
get:
|
||||
summary: Deposits queries all deposits of a single proposal.
|
||||
operationId: Deposits
|
||||
@@ -7158,7 +7405,7 @@ paths:
|
||||
type: boolean
|
||||
tags:
|
||||
- Query
|
||||
'/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits/{depositor}':
|
||||
/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits/{depositor}:
|
||||
get:
|
||||
summary: >-
|
||||
Deposit queries single deposit information based proposalID,
|
||||
@@ -7406,7 +7653,7 @@ paths:
|
||||
type: string
|
||||
tags:
|
||||
- Query
|
||||
'/cosmos/gov/v1beta1/proposals/{proposal_id}/tally':
|
||||
/cosmos/gov/v1beta1/proposals/{proposal_id}/tally:
|
||||
get:
|
||||
summary: TallyResult queries the tally of a proposal vote.
|
||||
operationId: TallyResult
|
||||
@@ -7631,7 +7878,7 @@ paths:
|
||||
format: uint64
|
||||
tags:
|
||||
- Query
|
||||
'/cosmos/gov/v1beta1/proposals/{proposal_id}/votes':
|
||||
/cosmos/gov/v1beta1/proposals/{proposal_id}/votes:
|
||||
get:
|
||||
summary: Votes queries votes of a given proposal.
|
||||
operationId: Votes
|
||||
@@ -7975,9 +8222,9 @@ paths:
|
||||
type: boolean
|
||||
tags:
|
||||
- Query
|
||||
'/cosmos/gov/v1beta1/proposals/{proposal_id}/votes/{voter}':
|
||||
/cosmos/gov/v1beta1/proposals/{proposal_id}/votes/{voter}:
|
||||
get:
|
||||
summary: 'Vote queries voted information based on proposalID, voterAddr.'
|
||||
summary: Vote queries voted information based on proposalID, voterAddr.
|
||||
operationId: Vote
|
||||
responses:
|
||||
'200':
|
||||
@@ -8250,7 +8497,7 @@ paths:
|
||||
type: string
|
||||
tags:
|
||||
- Query
|
||||
'/cosmos/staking/v1beta1/delegations/{delegator_addr}':
|
||||
/cosmos/staking/v1beta1/delegations/{delegator_addr}:
|
||||
get:
|
||||
summary: >-
|
||||
DelegatorDelegations queries all delegations of a given delegator
|
||||
@@ -8586,7 +8833,7 @@ paths:
|
||||
type: boolean
|
||||
tags:
|
||||
- Query
|
||||
'/cosmos/staking/v1beta1/delegators/{delegator_addr}/redelegations':
|
||||
/cosmos/staking/v1beta1/delegators/{delegator_addr}/redelegations:
|
||||
get:
|
||||
summary: Redelegations queries redelegations of given address.
|
||||
operationId: Redelegations
|
||||
@@ -8992,7 +9239,7 @@ paths:
|
||||
type: boolean
|
||||
tags:
|
||||
- Query
|
||||
'/cosmos/staking/v1beta1/delegators/{delegator_addr}/unbonding_delegations':
|
||||
/cosmos/staking/v1beta1/delegators/{delegator_addr}/unbonding_delegations:
|
||||
get:
|
||||
summary: >-
|
||||
DelegatorUnbondingDelegations queries all unbonding delegations of a
|
||||
@@ -9330,7 +9577,7 @@ paths:
|
||||
type: boolean
|
||||
tags:
|
||||
- Query
|
||||
'/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators':
|
||||
/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators:
|
||||
get:
|
||||
summary: |-
|
||||
DelegatorValidators queries all validators info for given delegator
|
||||
@@ -9926,7 +10173,7 @@ paths:
|
||||
type: boolean
|
||||
tags:
|
||||
- Query
|
||||
'/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators/{validator_addr}':
|
||||
/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators/{validator_addr}:
|
||||
get:
|
||||
summary: |-
|
||||
DelegatorValidator queries validator info for given delegator validator
|
||||
@@ -10450,7 +10697,7 @@ paths:
|
||||
type: string
|
||||
tags:
|
||||
- Query
|
||||
'/cosmos/staking/v1beta1/historical_info/{height}':
|
||||
/cosmos/staking/v1beta1/historical_info/{height}:
|
||||
get:
|
||||
summary: HistoricalInfo queries the historical info for given height.
|
||||
operationId: HistoricalInfo
|
||||
@@ -12092,7 +12339,7 @@ paths:
|
||||
type: boolean
|
||||
tags:
|
||||
- Query
|
||||
'/cosmos/staking/v1beta1/validators/{validator_addr}':
|
||||
/cosmos/staking/v1beta1/validators/{validator_addr}:
|
||||
get:
|
||||
summary: Validator queries validator info for given validator address.
|
||||
operationId: Validator
|
||||
@@ -12609,7 +12856,7 @@ paths:
|
||||
type: string
|
||||
tags:
|
||||
- Query
|
||||
'/cosmos/staking/v1beta1/validators/{validator_addr}/delegations':
|
||||
/cosmos/staking/v1beta1/validators/{validator_addr}/delegations:
|
||||
get:
|
||||
summary: ValidatorDelegations queries delegate info for given validator.
|
||||
operationId: ValidatorDelegations
|
||||
@@ -12940,7 +13187,7 @@ paths:
|
||||
type: boolean
|
||||
tags:
|
||||
- Query
|
||||
'/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}':
|
||||
/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}:
|
||||
get:
|
||||
summary: Delegation queries delegate info for given validator delegator pair.
|
||||
operationId: Delegation
|
||||
@@ -13203,7 +13450,7 @@ paths:
|
||||
type: string
|
||||
tags:
|
||||
- Query
|
||||
'/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}/unbonding_delegation':
|
||||
/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}/unbonding_delegation:
|
||||
get:
|
||||
summary: |-
|
||||
UnbondingDelegation queries unbonding info for given validator delegator
|
||||
@@ -13469,7 +13716,7 @@ paths:
|
||||
type: string
|
||||
tags:
|
||||
- Query
|
||||
'/cosmos/staking/v1beta1/validators/{validator_addr}/unbonding_delegations':
|
||||
/cosmos/staking/v1beta1/validators/{validator_addr}/unbonding_delegations:
|
||||
get:
|
||||
summary: >-
|
||||
ValidatorUnbondingDelegations queries unbonding delegations of a
|
||||
@@ -13811,7 +14058,7 @@ definitions:
|
||||
properties:
|
||||
homestead_block:
|
||||
type: string
|
||||
title: 'Homestead switch block (nil no fork, 0 = already homestead)'
|
||||
title: Homestead switch block (nil no fork, 0 = already homestead)
|
||||
dao_fork_block:
|
||||
type: string
|
||||
title: TheDAO hard-fork switch block (nil no fork)
|
||||
@@ -13838,16 +14085,16 @@ definitions:
|
||||
title: EIP158 HF block
|
||||
byzantium_block:
|
||||
type: string
|
||||
title: 'Byzantium switch block (nil no fork, 0 = already on byzantium)'
|
||||
title: Byzantium switch block (nil no fork, 0 = already on byzantium)
|
||||
constantinople_block:
|
||||
type: string
|
||||
title: 'Constantinople switch block (nil no fork, 0 = already activated)'
|
||||
title: Constantinople switch block (nil no fork, 0 = already activated)
|
||||
petersburg_block:
|
||||
type: string
|
||||
title: Petersburg switch block (nil same as Constantinople)
|
||||
istanbul_block:
|
||||
type: string
|
||||
title: 'Istanbul switch block (nil no fork, 0 = already on istanbul)'
|
||||
title: Istanbul switch block (nil no fork, 0 = already on istanbul)
|
||||
muir_glacier_block:
|
||||
type: string
|
||||
title: >-
|
||||
@@ -13855,10 +14102,20 @@ definitions:
|
||||
activated)
|
||||
berlin_block:
|
||||
type: string
|
||||
title: 'Berlin switch block (nil = no fork, 0 = already on berlin)'
|
||||
title: Berlin switch block (nil = no fork, 0 = already on berlin)
|
||||
london_block:
|
||||
type: string
|
||||
title: 'London switch block (nil = no fork, 0 = already on london)'
|
||||
title: London switch block (nil = no fork, 0 = already on london)
|
||||
arrow_glacier_block:
|
||||
type: string
|
||||
title: >-
|
||||
Eip-4345 (bomb delay) switch block (nil = no fork, 0 = already
|
||||
activated)
|
||||
merge_fork_block:
|
||||
type: string
|
||||
title: >-
|
||||
EIP-3675 (TheMerge) switch block (nil = no fork, 0 = already in merge
|
||||
proceedings)
|
||||
description: >-
|
||||
ChainConfig defines the Ethereum ChainConfig parameters using *sdk.Int
|
||||
values
|
||||
@@ -13886,7 +14143,7 @@ definitions:
|
||||
data:
|
||||
type: string
|
||||
format: byte
|
||||
title: 'supplied by the contract, usually ABI-encoded'
|
||||
title: supplied by the contract, usually ABI-encoded
|
||||
block_number:
|
||||
type: string
|
||||
format: uint64
|
||||
@@ -14123,7 +14380,7 @@ definitions:
|
||||
data:
|
||||
type: string
|
||||
format: byte
|
||||
title: 'supplied by the contract, usually ABI-encoded'
|
||||
title: supplied by the contract, usually ABI-encoded
|
||||
block_number:
|
||||
type: string
|
||||
format: uint64
|
||||
@@ -14205,7 +14462,7 @@ definitions:
|
||||
properties:
|
||||
homestead_block:
|
||||
type: string
|
||||
title: 'Homestead switch block (nil no fork, 0 = already homestead)'
|
||||
title: Homestead switch block (nil no fork, 0 = already homestead)
|
||||
dao_fork_block:
|
||||
type: string
|
||||
title: TheDAO hard-fork switch block (nil no fork)
|
||||
@@ -14232,16 +14489,16 @@ definitions:
|
||||
title: EIP158 HF block
|
||||
byzantium_block:
|
||||
type: string
|
||||
title: 'Byzantium switch block (nil no fork, 0 = already on byzantium)'
|
||||
title: Byzantium switch block (nil no fork, 0 = already on byzantium)
|
||||
constantinople_block:
|
||||
type: string
|
||||
title: 'Constantinople switch block (nil no fork, 0 = already activated)'
|
||||
title: Constantinople switch block (nil no fork, 0 = already activated)
|
||||
petersburg_block:
|
||||
type: string
|
||||
title: Petersburg switch block (nil same as Constantinople)
|
||||
istanbul_block:
|
||||
type: string
|
||||
title: 'Istanbul switch block (nil no fork, 0 = already on istanbul)'
|
||||
title: Istanbul switch block (nil no fork, 0 = already on istanbul)
|
||||
muir_glacier_block:
|
||||
type: string
|
||||
title: >-
|
||||
@@ -14249,15 +14506,32 @@ definitions:
|
||||
activated)
|
||||
berlin_block:
|
||||
type: string
|
||||
title: 'Berlin switch block (nil = no fork, 0 = already on berlin)'
|
||||
title: Berlin switch block (nil = no fork, 0 = already on berlin)
|
||||
london_block:
|
||||
type: string
|
||||
title: 'London switch block (nil = no fork, 0 = already on london)'
|
||||
title: London switch block (nil = no fork, 0 = already on london)
|
||||
arrow_glacier_block:
|
||||
type: string
|
||||
title: >-
|
||||
Eip-4345 (bomb delay) switch block (nil = no fork, 0 = already
|
||||
activated)
|
||||
merge_fork_block:
|
||||
type: string
|
||||
title: >-
|
||||
EIP-3675 (TheMerge) switch block (nil = no fork, 0 = already in
|
||||
merge proceedings)
|
||||
description: >-
|
||||
ChainConfig defines the Ethereum ChainConfig parameters using *sdk.Int
|
||||
values
|
||||
|
||||
instead of *big.Int.
|
||||
allow_unprotected_txs:
|
||||
type: boolean
|
||||
description: >-
|
||||
Allow unprotected transactions defines if replay-protected (i.e non
|
||||
EIP155
|
||||
|
||||
signed) transactions can be executed on the state machine.
|
||||
title: Params defines the EVM module parameters
|
||||
ethermint.evm.v1.QueryAccountResponse:
|
||||
type: object
|
||||
@@ -14284,6 +14558,12 @@ definitions:
|
||||
description: >-
|
||||
QueryBalanceResponse is the response type for the Query/Balance RPC
|
||||
method.
|
||||
ethermint.evm.v1.QueryBaseFeeResponse:
|
||||
type: object
|
||||
properties:
|
||||
base_fee:
|
||||
type: string
|
||||
description: BaseFeeResponse returns the EIP1559 base fee.
|
||||
ethermint.evm.v1.QueryCodeResponse:
|
||||
type: object
|
||||
properties:
|
||||
@@ -14349,7 +14629,7 @@ definitions:
|
||||
properties:
|
||||
homestead_block:
|
||||
type: string
|
||||
title: 'Homestead switch block (nil no fork, 0 = already homestead)'
|
||||
title: Homestead switch block (nil no fork, 0 = already homestead)
|
||||
dao_fork_block:
|
||||
type: string
|
||||
title: TheDAO hard-fork switch block (nil no fork)
|
||||
@@ -14376,7 +14656,7 @@ definitions:
|
||||
title: EIP158 HF block
|
||||
byzantium_block:
|
||||
type: string
|
||||
title: 'Byzantium switch block (nil no fork, 0 = already on byzantium)'
|
||||
title: Byzantium switch block (nil no fork, 0 = already on byzantium)
|
||||
constantinople_block:
|
||||
type: string
|
||||
title: >-
|
||||
@@ -14387,7 +14667,7 @@ definitions:
|
||||
title: Petersburg switch block (nil same as Constantinople)
|
||||
istanbul_block:
|
||||
type: string
|
||||
title: 'Istanbul switch block (nil no fork, 0 = already on istanbul)'
|
||||
title: Istanbul switch block (nil no fork, 0 = already on istanbul)
|
||||
muir_glacier_block:
|
||||
type: string
|
||||
title: >-
|
||||
@@ -14395,15 +14675,32 @@ definitions:
|
||||
activated)
|
||||
berlin_block:
|
||||
type: string
|
||||
title: 'Berlin switch block (nil = no fork, 0 = already on berlin)'
|
||||
title: Berlin switch block (nil = no fork, 0 = already on berlin)
|
||||
london_block:
|
||||
type: string
|
||||
title: 'London switch block (nil = no fork, 0 = already on london)'
|
||||
title: London switch block (nil = no fork, 0 = already on london)
|
||||
arrow_glacier_block:
|
||||
type: string
|
||||
title: >-
|
||||
Eip-4345 (bomb delay) switch block (nil = no fork, 0 = already
|
||||
activated)
|
||||
merge_fork_block:
|
||||
type: string
|
||||
title: >-
|
||||
EIP-3675 (TheMerge) switch block (nil = no fork, 0 = already
|
||||
in merge proceedings)
|
||||
description: >-
|
||||
ChainConfig defines the Ethereum ChainConfig parameters using
|
||||
*sdk.Int values
|
||||
|
||||
instead of *big.Int.
|
||||
allow_unprotected_txs:
|
||||
type: boolean
|
||||
description: >-
|
||||
Allow unprotected transactions defines if replay-protected (i.e
|
||||
non EIP155
|
||||
|
||||
signed) transactions can be executed on the state machine.
|
||||
title: Params defines the EVM module parameters
|
||||
description: >-
|
||||
QueryParamsResponse defines the response type for querying x/evm
|
||||
@@ -14480,7 +14777,7 @@ definitions:
|
||||
limit:
|
||||
type: integer
|
||||
format: int32
|
||||
title: 'maximum length of output, but zero means unlimited'
|
||||
title: maximum length of output, but zero means unlimited
|
||||
overrides:
|
||||
title: >-
|
||||
Chain overrides, can be used to execute a trace using future fork
|
||||
@@ -14489,7 +14786,7 @@ definitions:
|
||||
properties:
|
||||
homestead_block:
|
||||
type: string
|
||||
title: 'Homestead switch block (nil no fork, 0 = already homestead)'
|
||||
title: Homestead switch block (nil no fork, 0 = already homestead)
|
||||
dao_fork_block:
|
||||
type: string
|
||||
title: TheDAO hard-fork switch block (nil no fork)
|
||||
@@ -14516,16 +14813,16 @@ definitions:
|
||||
title: EIP158 HF block
|
||||
byzantium_block:
|
||||
type: string
|
||||
title: 'Byzantium switch block (nil no fork, 0 = already on byzantium)'
|
||||
title: Byzantium switch block (nil no fork, 0 = already on byzantium)
|
||||
constantinople_block:
|
||||
type: string
|
||||
title: 'Constantinople switch block (nil no fork, 0 = already activated)'
|
||||
title: Constantinople switch block (nil no fork, 0 = already activated)
|
||||
petersburg_block:
|
||||
type: string
|
||||
title: Petersburg switch block (nil same as Constantinople)
|
||||
istanbul_block:
|
||||
type: string
|
||||
title: 'Istanbul switch block (nil no fork, 0 = already on istanbul)'
|
||||
title: Istanbul switch block (nil no fork, 0 = already on istanbul)
|
||||
muir_glacier_block:
|
||||
type: string
|
||||
title: >-
|
||||
@@ -14533,10 +14830,20 @@ definitions:
|
||||
activated)
|
||||
berlin_block:
|
||||
type: string
|
||||
title: 'Berlin switch block (nil = no fork, 0 = already on berlin)'
|
||||
title: Berlin switch block (nil = no fork, 0 = already on berlin)
|
||||
london_block:
|
||||
type: string
|
||||
title: 'London switch block (nil = no fork, 0 = already on london)'
|
||||
title: London switch block (nil = no fork, 0 = already on london)
|
||||
arrow_glacier_block:
|
||||
type: string
|
||||
title: >-
|
||||
Eip-4345 (bomb delay) switch block (nil = no fork, 0 = already
|
||||
activated)
|
||||
merge_fork_block:
|
||||
type: string
|
||||
title: >-
|
||||
EIP-3675 (TheMerge) switch block (nil = no fork, 0 = already in
|
||||
merge proceedings)
|
||||
description: >-
|
||||
ChainConfig defines the Ethereum ChainConfig parameters using *sdk.Int
|
||||
values
|
||||
@@ -17468,7 +17775,7 @@ definitions:
|
||||
properties:
|
||||
rate:
|
||||
type: string
|
||||
description: 'rate is the commission rate charged to delegators, as a fraction.'
|
||||
description: rate is the commission rate charged to delegators, as a fraction.
|
||||
max_rate:
|
||||
type: string
|
||||
description: >-
|
||||
@@ -17489,7 +17796,7 @@ definitions:
|
||||
properties:
|
||||
rate:
|
||||
type: string
|
||||
description: 'rate is the commission rate charged to delegators, as a fraction.'
|
||||
description: rate is the commission rate charged to delegators, as a fraction.
|
||||
max_rate:
|
||||
type: string
|
||||
description: >-
|
||||
|
||||
Reference in New Issue
Block a user