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.
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
client_conf | object | ✓ | - | An object containing the SIA client configuration. |
client_conf.server_url | string | ✓ | - | The URL of the SIA public node. e.g., https://api.siascan.com/wallet/api |
client_conf.password | string | ✓ | - | The password for the SIA wallet daemon. |
tx_history | bool | ✗ | false | Whether to enable transaction history for the coin. |
Parameter | Type | Description |
---|---|---|
task_id | integer | The 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"
}
}
}
}