Enable SLP
deprecatedenable_slp
The enable_slp
method activates additional SLP tokens for a previously-enabled BCH (Bitcoin Cash) platform coin.
⚠️ Before calling this method you must first enable BCH itself (e.g. with enable_bch_with_tokens
).
This method has been deprecated and will no longer work with the current master coins file.
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
ticker | string | ✓ | – | Ticker of the SLP token you want to enable (e.g., SPICE ). |
activation_params | object | ✗ | – | A standard TokenActivationParams object. |
Parameter | Type | Description |
---|---|---|
balances | object | An object containing balance information for activated addresses. |
platform_coin | string | The platform coin (always BCH ). |
token_id | string | The SLP token ID (transaction hash) of the activated token. |
required_confirmations | number | The number of confirmations required for transactions. |
Enable SLP
POST
enable_slp{
"userpass": "RPC_UserP@SSW0RD",
"method": "enable_slp",
"mmrpc": "2.0",
"params": {
"ticker": "SPICE",
"activation_params": {
"required_confirmations": 3
}
},
"id": 0
}