본문으로 건너뛰기

브릿지 수수료 추정

GET 

/2.0/wallets/:walletIdx/bridges/estimate-fee

해당 API는 글로벌 토큰으로 호출 가능합니다. bridgeTunnelIdx와 amount로 브릿지 전체 수수료를 추정합니다.

수수료 종류​

source​

필드의미
transactionFeesource 체인 가스비 (source platform coin 단위). approve + source bridge 단계의 합
bridgeNativeFee브릿지 프로토콜이 msg.value로 받는 native 수수료 (source platform coin). LayerZero/Wormhole/Stargate messaging fee. CCTP는 0
bridgeTokenFee브릿지 프로토콜이 옮기는 토큰에서 떼는 수수료 (bridge coin 단위). source에서 차감되어 destination에 덜 도달. CCTP v2 maxFee/Stargate LP fee. CCTP는 0

destination​

필드의미
transactionFeedestination 체인 가스비 (destination platform coin). receiveMessage 등 마무리 트랜잭션의 비용. destination 단계가 없는 터널이면 0. 브릿지 자체 수수료는 destination에 없음(모두 source 귀속)

Request​

Responses​

Success