reown-com / blockchain-api

WalletConnect's Blockchain API
MIT License
71 stars 53 forks source link

feat(ca_orchestration): adding the approval transaction if needed and checking the status #818

Closed geekbrother closed 4 weeks ago

geekbrother commented 1 month ago

Description

This PR adds the approval transaction to the transactions list if required. We are checking the allowance for the bridging transaction first and requesting the approval transaction data if the allowance is less than the minimum required. The approval transaction is added as the first transaction to the list.

Also, the status for the orchestration ID is added by checking if the amount in the wallet is greater than expected.

How Has This Been Tested?

Due Diligence