Initial Hot Cross Offerings
post
https://api.hotcross.com
/iho/{session}/tx/contribute
Create IHO contribute tx
Responses:
  • data - string: The call data of the transaction can be empty for simple value transfers
  • gas - number: The gas provided by the transaction
post
https://api.hotcross.com/
iho/{session}/tx/claim
Create IHO claim tx
Responses:
  • data - string: The call data of the transaction can be empty for simple value transfers
  • gas - number: The gas provided by the transaction
post
https://api.hotcross.com/
iho/{session}/tx/release
Create IHO release tx
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
post
https://api.hotcross.com/
iho/{session}/tx/zap-bnb
Create IHO zap-bnb tx
Responses:
  • data - string: The call data of the transaction can be empty for simple value transfers
  • gas - number: The gas provided by the transaction
​
post
https://api.hotcross.com/
iho/{session}/tx/zap-busd
Create IHO zap-busd tx
Responses:
  • data - string: The call data of the transaction can be empty for simple value transfers
  • gas - number: The gas provided by the transaction
post
https://api.hotcross.com/
iho/{session}/call/data
Read the IHO data from blockchain
Responses:
  • totalContrib - string: The total contribution (in wei) so far
  • raisingAmount - string: The total raising amount (in wei)
  • offeringAmount - string: The total offering amount (in wei)
  • vestingParams
    • startTime - string: The UNIX timestamp for when the vesting period starts
    • vestingDuration
      • offering - string: Vesting duration in seconds for the offering token
      • raising - string: Vesting duration in seconds for the raising token
    • cliff
      • offering - string: The UNIX timestamp of the cliff for the offering token
      • raising - string: The UNIX timestamp of the cliff for the raising token
Postman example
post
https://api.hotcross.com/
iho/{session}/call/user-data
Read the user data for an IHO session from the blockchain
Responses:
  • tokenReceivable - string: The user receivable amount (in wei) so far
  • refundAmount - string: The refund amount (in wei) so far
  • contribution - string: The user contribution amount (in wei)
  • claimed - boolean: Whether the user has claimed their tokens. If the session has vesting this means that the user has initialized their vesting.
  • vestingInfo
    • offering
      • amount - string: The amount (in wei) that the user will need to release
      • totalClaimed - string: The amount (in wei) that the user has released so far
      • periodClaimed - string: A duration in seconds for what amount of time the user has released tokens for
    • refund
      • amount - string: The amount (in wei) that the user will need to release
      • totalClaimed - string: The amount (in wei) that the user has released so far
      • periodClaimed - string: A duration in seconds for what amount of time the user has released tokens for
Postman example