On this page

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.

ParameterTypeRequiredDefaultDescription
tickerstringTicker of the SLP token you want to enable (e.g., SPICE).
activation_paramsobjectA standard TokenActivationParams object.

ParameterTypeDescription
balancesobjectAn object containing balance information for activated addresses.
platform_coinstringThe platform coin (always BCH).
token_idstringThe SLP token ID (transaction hash) of the activated token.
required_confirmationsnumberThe 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
}