Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
smk762 committed Sep 11, 2024
1 parent 0900f28 commit aa224eb
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 20 deletions.
2 changes: 2 additions & 0 deletions filepathSlugs.json
Original file line number Diff line number Diff line change
Expand Up @@ -2802,6 +2802,8 @@
"response",
"request-with-get-balances-set-to-false",
"response-2",
"request-using-nodes-parameter-kdf-version-2-2-0",
"response-3",
"error-types",
"platform-config-is-not-found-error",
"platform-is-already-activated-error",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Use this method to activate Tendermint coins (COSMOS/IRIS/OSMOSIS) and IBC asset
| tokens\_tickers | array | Only returned when `get_balances` is `false`. A list of each token which was activated. |

<Note>
The `rpc_urls` parameter will be replaced with the `nodes` parameter in the next release. Instead of a list of url strings, the `nodes` parameter will be a list of [EvmNode objects](/komodo-defi-framework/api/common_structures/activation/#evm-node).
The `rpc_urls` parameter will be replaced with the `nodes` parameter in the kdf version 2.2.0 release. Instead of a list of url strings, the `nodes` parameter will be a list of [EvmNode objects](/komodo-defi-framework/api/common_structures/activation/#evm-node).
</Note>

### 📌 Examples
Expand All @@ -41,6 +41,7 @@ Use this method to activate Tendermint coins (COSMOS/IRIS/OSMOSIS) and IBC asset
```json
{
"method": "enable_tendermint_with_assets",
"userpass": "RPC_UserP@SSW0RD",
"mmrpc": "2.0",
"params": {
"ticker": "IRIS",
Expand All @@ -53,8 +54,7 @@ Use this method to activate Tendermint coins (COSMOS/IRIS/OSMOSIS) and IBC asset
"https://iris.komodo.earth/",
"https://rpc.irishub-1.irisnet.org"
]
},
"userpass": "RPC_UserP@SSW0RD"
}
}
```
</CodeGroup>
Expand Down Expand Up @@ -91,6 +91,7 @@ Use this method to activate Tendermint coins (COSMOS/IRIS/OSMOSIS) and IBC asset
```json
{
"method": "enable_tendermint_with_assets",
"userpass": "RPC_UserP@SSW0RD",
"mmrpc": "2.0",
"params": {
"ticker": "IRIS",
Expand All @@ -105,8 +106,7 @@ Use this method to activate Tendermint coins (COSMOS/IRIS/OSMOSIS) and IBC asset
],
"tx_history": true,
"get_balances": false
},
"userpass": "RPC_UserP@SSW0RD"
}
}
```
</CodeGroup>
Expand All @@ -128,13 +128,13 @@ Use this method to activate Tendermint coins (COSMOS/IRIS/OSMOSIS) and IBC asset
```
</CollapsibleSection>

#### Request using `nodes` parameter (dev branch)
#### Request using `nodes` parameter (kdf version 2.2.0+)

<CodeGroup title="" tag="POST" label="enable_tendermint_with_assets" mm2MethodDecorate="true">
```json
{
"method": "enable_tendermint_with_assets",
"userpass": "RPC_UserP@SSW0RD"
"userpass": "RPC_UserP@SSW0RD",
"mmrpc": "2.0",
"params": {
"ticker": "IRIS",
Expand All @@ -144,16 +144,16 @@ Use this method to activate Tendermint coins (COSMOS/IRIS/OSMOSIS) and IBC asset
}
],
"nodes": [
{
"url": "https://iris-rpc.alpha.komodo.earth/",
"api_url": "https://iris-api.alpha.komodo.earth/",
"grpc_url": "https://iris-grpc.alpha.komodo.earth/",
"ws_url": "wss://iris-rpc.alpha.komodo.earth/websocket"
},
{
"url": "https://rpc.irishub-1.irisnet.org",
"komodo_auth": false
}
{
"url": "https://iris-rpc.alpha.komodo.earth/",
"api_url": "https://iris-api.alpha.komodo.earth/",
"grpc_url": "https://iris-grpc.alpha.komodo.earth/",
"ws_url": "wss://iris-rpc.alpha.komodo.earth/websocket"
},
{
"url": "https://rpc.irishub-1.irisnet.org",
"komodo_auth": false
}
]
}
}
Expand Down Expand Up @@ -186,9 +186,6 @@ Use this method to activate Tendermint coins (COSMOS/IRIS/OSMOSIS) and IBC asset
```
</CollapsibleSection>




<CollapsibleSection expandedText="Hide Errors" collapsedText="Show Errors">
### Error Types

Expand Down

0 comments on commit aa224eb

Please sign in to comment.