mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-10 10:05:18 +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>
20 lines
457 B
JSON
20 lines
457 B
JSON
{
|
|
"base_req": {
|
|
"from": "kava1rjnv8ns2wvz9calje5pmcnpxm055pegprywvjj",
|
|
"memo": "",
|
|
"chain_id": "kava-internal",
|
|
"account_number": "12",
|
|
"sequence": "0",
|
|
"gas": "500000",
|
|
"gas_adjustment": "1.0",
|
|
"simulate": false
|
|
},
|
|
"owner": "kava1mzqz3jfs9nzfp6v7qp647rv0afxlu2csl0txmq",
|
|
"depositor": "kava1rjnv8ns2wvz9calje5pmcnpxm055pegprywvjj",
|
|
"collateral": [
|
|
{
|
|
"denom": "xrp",
|
|
"amount": "110000000"
|
|
}
|
|
]
|
|
} |