Claim Gift Code

Claim a gift code to an account in the wallet.

Parameters

Required ParamPurposeRequirements

gift_code_b58

The base58-encoded gift code contents.

Must be a valid b58-encoded gift code.

account_id

The account on which to perform this action.

Account must exist in the wallet.

Optional ParamPurposeRequirements

address

The public address of the account.

Example

{
  "method": "claim_gift_code",
  "params": {
    "gift_code_b58": "3DkTHXADdEUpRJ5QsrjmYh8WqFdDKkvng126zTP9YQb7LNXL8pbRidCvB7Ba3Mvek5ZZdev8EXNPrJBpGdtvfjk3hew1phmjdkf5mp35mbyvhB8UjRqoJJqDRswLrmKQL",
    "account_id": "a8c9c7acb96cf4ad9154eec9384c09f2c75a340b441924847fe5f60a41805bde",
    "address": "996ucua1TCxcSWTgvrwit9duR2oXk25ZAF41xh5QnkkEkwmNQfiFW8XXm7Uu3kCM2aVW9krJRtCWA9ZeMCYiLnNvajfB6hbLzvYF4HJD6ak"
  },
  "jsonrpc": "2.0",
  "id": 1
}

Last updated