You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/pages/komodo-defi-framework/api/common_structures/activation/index.mdx
+13-13
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ The `ActivationParams` object defines additional parameters used for activation.
18
18
| zcash\_params\_path | string | ZHTLC coins only. Path to folder containing Zcash parameters. Optional, defaults to standard location as defined in [this guide](https://forum.komodoplatform.com/t/installing-zcash-params/603)|
19
19
| scan\_blocks\_per\_iteration | integer | ZHTLC coins only. Sets the number of scanned blocks per iteration during `BuildingWalletDb` state. Optional, default value is 1000. |
20
20
| scan\_interval\_ms | integer | ZHTLC coins only. Sets the interval in milliseconds between iterations of `BuildingWalletDb` state. Optional, default value is 0. |
21
-
| mode | object | QTUM, UTXO & ZHTLC coins only. A standard [ActivationMode](/komodo-defi-framework/api/common_structures/activation/#activation-mode) object. |
21
+
| mode | object | QTUM, UTXO & ZHTLC coins only. A standard [ActivationMode](/komodo-defi-framework/api/common_structures/activation/#activation-mode) object. |
22
22
23
23
<Note>
24
24
For ZHTLC coins, older wallets need to set the `sync_params` field to a date before its
@@ -36,9 +36,9 @@ The `ActivationParams` object defines additional parameters used for activation.
36
36
37
37
Defines the activation mode for QTUM, BCH, UTXO & ZHTLC coins.
| rpc | string |`Native` if running a native blockchain node, `Electrum` if using electrum servers or `Light` for ZHTLC coins. |
42
42
| rpc\_data | object |`Electrum` or `Light` mode only. A standard [ActivationRpcData](/komodo-defi-framework/api/common_structures/activation/#activation-rpc-data) object. |
43
43
44
44
### ActivationRpcData
@@ -48,8 +48,8 @@ Contains information about electrum & lightwallet\_d servers for coins being use
| light\_wallet\_d\_servers | list | ZHTLC only. A list of urls which are hosting lightwallet\_d servers for a coin. |
51
-
| electrum\_servers | list of objects | ZHTLC only. A list of standard [ActivationServers](/komodo-defi-framework/api/common_structures/activation/#activation-servers) objects. |
52
-
| electrum | list of objects | QTUM, BCH & UTXO coins only. A list of standard [ActivationServers](/komodo-defi-framework/api/common_structures/activation/#activation-servers) objects. |
51
+
| electrum\_servers | list of objects | ZHTLC only. A list of standard [ActivationServers](/komodo-defi-framework/api/common_structures/activation/#activation-servers) objects. |
52
+
| electrum | list of objects | QTUM, BCH & UTXO coins only. A list of standard [ActivationServers](/komodo-defi-framework/api/common_structures/activation/#activation-servers) objects. |
53
53
| sync\_params | integer or string | ZHTLC coins only. Optional, defaults to two days ago. Defines where to start scanning blockchain data upon initial activation. Options: `"earliest"` (the coin's sapling\_activation\_height), `height` (a specific block height) or `date` (a unix timestamp). |
54
54
55
55
<DevComment>
@@ -127,17 +127,17 @@ Contains information electrum servers for coins being used in `Electrum` or `Lig
| platform | string | Indicates the platform parent coin for EMV-like protocols, or the coin used for lightning nodes. |
140
+
| network | string | Either `mainnet` or \`testnet |
141
141
| confirmation\_targets | object | A standard [ConfirmationTargets](/komodo-defi-framework/api/common_structures/lightning/#confirmation-targets) object. |
| balances | object | A standard [balanceInfos](/komodo-defi-framework/api/common_structures/#balance-infos) object. Not included in responses where `get_balances` is `false`|
47
47
| derivation\_method | object | A standard [DerivationMethod](/komodo-defi-framework/api/common_structures/#derivation-method) object |
48
-
| pubkey | string | The public key associated with the seed used to launch AtomicDEX |
49
-
| tickers | array | A list of tokens which were successfully activated. Only included in responses where `get_balances` is `false`|
48
+
| pubkey | string | The public key associated with the seed used to launch AtomicDEX |
49
+
| tickers | array | A list of tokens which were successfully activated. Only included in responses where `get_balances` is `false`|
| state | string | current state of sync; possible values: `NotEnabled`, `NotStarted`, `InProgress`, `Error`, `Finished`|
294
294
| additional\_info | object | A standard [SyncStatusExtended](/komodo-defi-framework/api/common_structures/#sync-status-extended/) object. Additional info that helps to track the progress; present for `InProgress` and `Error` states only. |
Copy file name to clipboardexpand all lines: src/pages/komodo-defi-framework/api/common_structures/nfts/index.mdx
+4-4
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ The `NftInfo` object includes the following items for a given token:
30
30
| token\_hash | string | The token hash. May be `null`. |
31
31
| token\_uri | string | The URI to the metadata of the token. May be `null`. |
32
32
| token\_domain | string | Token domain. May be `null`. |
33
-
| uri\_meta | object | A standard [NftMetadata](/komodo-defi-framework/api/common_structures/nfts/#nft-metadata) object. |
33
+
| uri\_meta | object | A standard [NftMetadata](/komodo-defi-framework/api/common_structures/nfts/#nft-metadata) object. |
34
34
35
35
### NftFilter
36
36
@@ -73,7 +73,7 @@ The `NftTransfer` object includes the following items for each token transaction
73
73
| status | string | Transfer status. Will be either `Send` or `Receive`. When the `from_address` and `to_address` are the same (i.e. sending to yourself), this value will be `Receive`. |
74
74
| verified | integer | May be `null`. A deprecated field which will be removed in future. |
75
75
| operator | string | May be `null`. |
76
-
| fee\_details | object | Optional. A standard [FeeInfo](/komodo-defi-framework/api/common_structures//#fee-info) object. |
76
+
| fee\_details | object | Optional. A standard [FeeInfo](/komodo-defi-framework/api/common_structures//#fee-info) object. |
77
77
| confirmations | integer | The count of blocks produced since this transaction was confirmed. |
78
78
79
79
<DevComment>
@@ -180,11 +180,11 @@ The `WithdrawNftData` object is used for withdrawals of NFTs on ERC721 and ERC11
| chain | string | The token chain. Chain must be [activated](/komodo-defi-framework/api/legacy/coin_activation/) first. |
183
+
| chain | string | The token chain. Chain must be [activated](/komodo-defi-framework/api/legacy/coin_activation/) first. |
184
184
| to | string | Destination address to withdraw the token to. |
185
185
| token\_address | string | Token address. |
186
186
| token\_id | string | Token ID. |
187
-
| fee | object | A standard [WithdrawFee](/komodo-defi-framework/api/common_structures/#withdraw-fee) object. May be missing for older transfers. |
187
+
| fee | object | A standard [WithdrawFee](/komodo-defi-framework/api/common_structures/#withdraw-fee) object. May be missing for older transfers. |
188
188
| amount | string | Optional, ERC1155 only. Defaults to `1`. Amount of NFTs to withdraw. Ignored if `max` is true. |
189
189
| max | boolean | Optional, ERC1155 only. Defaults to `false`. If `true`, amount parameter will be ignored and all NFTs with this `token_id` will be sent. |
0 commit comments