Build Gift Code
Build a gift code in a tx_proposal that you can fund and submit to the ledger.
Parameters
Required Param
Purpose
Requirements
Optional Param
Purpose
Requirements
Example
{
"method": "build_gift_code",
"params": {
"account_id": "a8c9c7acb96cf4ad9154eec9384c09f2c75a340b441924847fe5f60a41805bde",
"value_pmob": "42000000000000",
"memo": "Happy Birthday!"
},
"jsonrpc": "2.0",
"id": 1
}{
"method": "build_gift_code",
"result": {
"tx_proposal": "...",
"gift_code_b58": "3Th9MSyznKV8VWAHAYoF8ZnVVunaTcMjRTnXvtzqeJPfAY8c7uQn71d6McViyzjLaREg7AppT7quDmBRG5E48csVhhzF4TEn1tw9Ekwr2hrq57A8cqR6sqpNC47mF7kHe",
},
"error": null,
"jsonrpc": "2.0",
"id": 1
}Last updated
Was this helpful?