mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-26 08:15:19 +00:00
cd754a25d9
* 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>
32 lines
584 B
JSON
32 lines
584 B
JSON
{
|
|
"type": "cosmos-sdk/StdTx",
|
|
"value": {
|
|
"msg": [
|
|
{
|
|
"type": "cdp/MsgCreateCDP",
|
|
"value": {
|
|
"sender": "kava12jk3szk45afmvjc3xc6kvj4e40tuy2m8ckgs03",
|
|
"collateral": [
|
|
{
|
|
"denom": "xrp",
|
|
"amount": "110000000"
|
|
}
|
|
],
|
|
"principal": [
|
|
{
|
|
"denom": "usdx",
|
|
"amount": "10000000"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"fee": {
|
|
"amount": [],
|
|
"gas": "500000"
|
|
},
|
|
"signatures": null,
|
|
"memo": ""
|
|
}
|
|
}
|