HOTDOG Swap

Create HOTDOG swap-in tx

POST https://api.hotcross.com/hotdogswap/tx/swap-in

Request Body

{
  "data": "string",
  "gas": 0
}

Responses:

  • data - string: The call data of the transaction can be empty for simple value transfers

  • gas - number: The gas provided by the transaction

Postman example

Create HOTDOG swap-out tx

POST https://api.hotcross.com/hotdogswap/tx/swap-out

Request Body

{
  "data": "string",
  "gas": 0
}

Responses:

  • data - string: The call data of the transaction can be empty for simple value transfers

  • gas - number: The gas provided by the transaction

Postman example

Last updated