mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-26 00:05:18 +00:00
fix: correct tx broadcasting post format (#356)
This commit is contained in:
parent
4f8b144381
commit
3b8b9ef9bc
@ -112,7 +112,7 @@
|
|||||||
summary: Syncing state of node
|
summary: Syncing state of node
|
||||||
tags:
|
tags:
|
||||||
- Tendermint RPC
|
- Tendermint RPC
|
||||||
description: Get if the node is currently syning with other nodes
|
description: Get the syncing status of the node
|
||||||
produces:
|
produces:
|
||||||
- application/json
|
- application/json
|
||||||
responses:
|
responses:
|
||||||
@ -298,7 +298,7 @@
|
|||||||
$ref: "#/definitions/StdTx"
|
$ref: "#/definitions/StdTx"
|
||||||
mode:
|
mode:
|
||||||
type: string
|
type: string
|
||||||
example: block
|
example: sync
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
description: Tx broadcasting result
|
description: Tx broadcasting result
|
||||||
@ -1991,7 +1991,19 @@
|
|||||||
value:
|
value:
|
||||||
type: string
|
type: string
|
||||||
Msg:
|
Msg:
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- from
|
||||||
|
properties:
|
||||||
|
type:
|
||||||
type: string
|
type: string
|
||||||
|
example: "cosmos-sdk/MsgSend"
|
||||||
|
value:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
from:
|
||||||
|
type: string
|
||||||
|
example: kava1mzqz3jfs9nzfp6v7qp647rv0afxlu2csl0txmq
|
||||||
Address:
|
Address:
|
||||||
type: string
|
type: string
|
||||||
description: bech32 encoded address
|
description: bech32 encoded address
|
||||||
@ -2005,13 +2017,28 @@
|
|||||||
properties:
|
properties:
|
||||||
denom:
|
denom:
|
||||||
type: string
|
type: string
|
||||||
example: stake
|
example: ukava
|
||||||
amount:
|
amount:
|
||||||
type: string
|
type: string
|
||||||
example: "50"
|
example: "50"
|
||||||
Hash:
|
Hash:
|
||||||
type: string
|
type: string
|
||||||
example: EE5F3404034C524501629B56E0DDC38FAD651F04
|
example: EE5F3404034C524501629B56E0DDC38FAD651F04
|
||||||
|
Signature:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
signature:
|
||||||
|
type: string
|
||||||
|
example: "W1HfKcc4F0rCSoxheZ7fsrB5nGK58U4gKysuzsmUwhloVnCxmbCx289uVMMvQN6tOcQsz7hMVTJrXSA1xzevvw=="
|
||||||
|
pubkey:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
type:
|
||||||
|
type: string
|
||||||
|
example: "tendermint/PubKeySecp256k1"
|
||||||
|
value:
|
||||||
|
type: string
|
||||||
|
example: "Agey31h/NYpcy0sYm4liHMrXJMzbQUrgV4uHd/w09CXN"
|
||||||
TxQuery:
|
TxQuery:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -2078,27 +2105,10 @@
|
|||||||
$ref: "#/definitions/Coin"
|
$ref: "#/definitions/Coin"
|
||||||
memo:
|
memo:
|
||||||
type: string
|
type: string
|
||||||
signature:
|
signatures:
|
||||||
type: object
|
type: array
|
||||||
properties:
|
items:
|
||||||
signature:
|
$ref: "#/definitions/Signature"
|
||||||
type: string
|
|
||||||
example: MEUCIQD02fsDPra8MtbRsyB1w7bqTM55Wu138zQbFcWx4+CFyAIge5WNPfKIuvzBZ69MyqHsqD8S1IwiEp+iUb6VSdtlpgY=
|
|
||||||
pub_key:
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
type:
|
|
||||||
type: string
|
|
||||||
example: "tendermint/PubKeySecp256k1"
|
|
||||||
value:
|
|
||||||
type: string
|
|
||||||
example: "Avz04VhtKJh8ACCVzlI8aTosGy0ikFXKIVHQ3jKMrosH"
|
|
||||||
account_number:
|
|
||||||
type: string
|
|
||||||
example: "0"
|
|
||||||
sequence:
|
|
||||||
type: string
|
|
||||||
example: "0"
|
|
||||||
BlockID:
|
BlockID:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
Loading…
Reference in New Issue
Block a user