On this page

Initialize SIA Activation

API-v2task::enable_sia::init

This method starts the task of activating the SIA coin. It returns a task ID that can be used with the status and user_action methods to monitor and complete the activation process.

ParameterTypeRequiredDefaultDescription
client_confobject-An object containing the SIA client configuration.
client_conf.server_urlstring-The URL of the SIA public node. e.g., https://api.siascan.com/wallet/api
client_conf.passwordstring-The password for the SIA wallet daemon.
tx_historyboolfalseWhether to enable transaction history for the coin.

ParameterTypeDescription
task_idintegerThe ID of the activation task.

Initialize SIA Activation

POST
task::enable_sia::init
{
  "mmrpc": "2.0",
  "userpass": "RPC_UserP@SSW0RD",
  "method": "task::enable_sia::init",
  "params": {
    "ticker": "SC",
    "activation_params": {
      "tx_history": true,
      "client_conf": {
          "server_url": "https://api.siascan.com/wallet/api"
      }
    }
  }
}