sygmaprotocol / sygma-sdk

A Typescript SDK to add cross-chain capabilities such as bridging tokens and sending messages across dApp projects.
https://docs.buildwithsygma.com/
GNU Lesser General Public License v3.0
31 stars 19 forks source link

feat: Added Liquidity helper function in `@buildwithsygma/utils` #407

Closed saadjhk closed 1 month ago

saadjhk commented 1 month ago

When transferring fungible assets, its important to know whether liquidity is available on destination chain. Therefore, v3 SDK should provide interface to be able to query liquidity on destination chain and it should throw and error if there isn't enough liquidity.

Implementation details

Testing details

Acceptance Criteria

Closes

383