-
Notifications
You must be signed in to change notification settings - Fork 66
createDeposit
katz edited this page Aug 18, 2020
·
11 revisions
The createDeposit method creates a new deposit with a source address and a term. The output will return the transactionHash of the creating transaction. The deposit will only reflect in the count and deposit index when the tx is confirmed.
JSON-RPC
{
"params":{
"sourceAddress":"ccx7eDWHZTgTZy7gbNL3vPgMiv9CZ1ckaCEQRiBkQmXVGQxAXVXVPunYLaAhRjv4qwMBzwGakB6VeGWfV9ZZvkAu8j2eg6ijCG",
"amount": 1000000000,
"term": 21900
},
"method":"createDeposit"
}
Request Details:
Argument | Mandatory | Description | Format |
---|---|---|---|
sourceAddress | Yes | Wallet address | string |
amount | Yes | The amount to deposit | int |
term | Yes | The length of the deposit (Minimum 21,900) | int |
JSON-RPC
Response Details:
© 2018-2023 Conceal Network. All rights reserved.
- Conceal API Reference
- General Methods
- Private Key Methods
- Wallet Address Methods
- Deposit Methods
- Transaction Methods
- Delayed Transaction Methods
- Wallet Export Methods