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 transfersgas - 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 transfersgas - 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 transfersgas - 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 transfersgas - 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 transfersgas - 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 farraisingAmount - 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 startsvestingDuration
offering - string:
Vesting duration in seconds for the offering tokenraising - string:
Vesting duration in seconds for the raising token
cliff
offering - string
: The UNIX timestamp of the cliff for the offering tokenraising - 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 farrefundAmount - string:
The refund amount (in wei) so farcontribution - 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 releasetotalClaimed - string:
The amount (in wei) that the user has released so farperiodClaimed - 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 releasetotalClaimed - string:
The amount (in wei) that the user has released so farperiodClaimed - string:
A duration in seconds for what amount of time the user has released tokens for
Postman example

Last modified 1yr ago