0g-chain/contrib/requests/broadcast-deposit-cdp.json
Kevin Davis cd754a25d9
[R4R] Minor rest fixes (#355)
* feat: add swagger

* add version info for mainnet

* feat: update swagger

* fix: type in get params path

* feat: example for creating cdp

* feat: example broadcast signed tx

* feat: examples for depositing to cdp

* added README with example cdp create rest-server request (#358)

* fix: make link-check happy

Co-authored-by: Denali Marsh <denalimarsh@gmail.com>
2020-01-31 17:31:22 -05:00

34 lines
780 B
JSON

{
"tx": {
"msg": [
{
"type": "cdp/MsgDeposit",
"value": {
"depositor": "kava1rjnv8ns2wvz9calje5pmcnpxm055pegprywvjj",
"owner": "kava1mzqz3jfs9nzfp6v7qp647rv0afxlu2csl0txmq",
"collateral": [
{
"denom": "xrp",
"amount": "110000000"
}
]
}
}
],
"fee": {
"amount": [],
"gas": "500000"
},
"signatures": [
{
"pub_key": {
"type": "tendermint/PubKeySecp256k1",
"value": "A2SB6wV+X9cVl6URZ28mmfxNQwFJD1u3oo5G332jMa2L"
},
"signature": "mJCjAhEVS/2KCvmGpcnvmeHCBo/UEu3/SbdhoyWkp8sDOLe5FO6016HyjUMJ2jJh80aSBJpPFQyyh2gOFQluXw=="
}
],
"memo": ""
},
"mode": "sync"
}