cURL
curl --request POST \ --url https://save.dial.to/api/v0/lending/{marketAddress}/reserves/{reserve}/deposit \ --header 'Content-Type: application/json' \ --data ' { "type": "transaction", "account": "6JpNV6DK88auwzKVizdeT4Bw3D44sam5GqjcPCJ7y176" } '
{ "type": "<unknown>", "transaction": "<string>" }
Generate a transaction for depositing a token in a Save reserve.
Market address
Reserve address
The amount to deposit. Human readable value, e.g. 100 USDC
The percentage of balance to deposit
-9007199254740991 < x <= 100
10
transaction
"transaction"
The public key of the account that executes the transaction
"6JpNV6DK88auwzKVizdeT4Bw3D44sam5GqjcPCJ7y176"
OK
Was this page helpful?