Comment on page
Interact with Cross Yield
post
https://api.hotcross.com/
cross-yield/{contractAddress}/tx/deposit
Create deposit Tx for Cross Yield
Returns
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/
cross-yield/{contractAddress}/tx/deposit-all
Create deposit tx for cross yield that will deposit the entire users balance
Returns
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/
cross-yield/{contractAddress}/tx/zap-in
Create zap in Tx for cross yield
Returns
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/
cross-yield/{contractAddress}/tx/zap-in-bnb
Create BNB zap in tx for Cross Yield
Returns
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
/cross-yield/{contractAddress}/tx/withdraw
Create Cross Yield withdraw tx
Returns
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/
cross-yield/{contractAddress}/tx/withdraw-all
Create Cross Yield withdraw all tx
Returns
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/
cross-yield/{contractAddress}/tx/harvest
Create Cross Yield harvest tx
Returns
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/
cross-yield/{contractAddress}/call/user-deposited
Read user deposited amount from the blockchain
Returns
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/
cross-yield/{strategyAddress}/call/pending-fees
Read pending fees in WBNB that will be given as a reward to the user for harvesting
Returns
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 modified 1yr ago