Skip to main content

tokenBurn

POST 

/api/v1/recipes/tokens/burn/

Burn tokens from a contract address

Request

Body

required
    contractId stringrequired

    The contractId of the token contract

    from stringrequired

    The address from which the tokens will be burnt.

    amount stringrequired

    The amount of tokens to burn in wei format.

Responses

Default Response

Schema
    error booleanrequired

    Possible values: [false]

    statusCode numberrequired

    Possible values: [201]

    data objectrequired
    id stringrequired
    hash stringrequired
    from stringrequired
    to stringrequired
    value stringrequired
    blockchainId integerrequired
    vaultId stringrequired
    contractId stringrequired
    status stringrequired

    Possible values: [TO_BE_SENT, FAILED_TO_SEND, SENT, CONFIRMED, FAILED]

Loading...