# 수수료가 충분한지 따로 체크하는 방법이 있을까요?

**URL:** https://devforum.kaia.io/t/topic/5493
**Category:** Kaia
**Created:** [6월 18, 2022, 8:43오전 UTC](https://devforum.kaia.io/t/topic/5493 "2022-06-18T08:43:16Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![thunderkyk](https://yyz1.discourse-cdn.com/flex035/user_avatar/devforum.kaia.io/thunderkyk/32/2678_2.png) [@thunderkyk](https://devforum.kaia.io/u/thunderkyk)
#### Post date: [6월 18, 2022, 8:43오전 UTC](https://devforum.kaia.io/t/topic/5493/1 "2022-06-18T08:43:16Z")

</div>

안녕하세요

혹시 klay를 보내거나 토큰을 전송할 때 드는 수수료가 충분한지 따로 체크 할 수 있는 방법이 있을까요?

---

<div class="post-metadata">

### Author: ![Denver](https://yyz1.discourse-cdn.com/flex035/user_avatar/devforum.kaia.io/denver/32/557_2.png) [@Denver](https://devforum.kaia.io/u/Denver)
#### Post date: [6월 20, 2022, 12:16오전 UTC](https://devforum.kaia.io/t/topic/5493/2 "2022-06-20T00:16:35Z")

</div>

@thunderkyk

안녕하세요.  
Klay나 토큰을 전송할 때 드는 수수료가 정확하게 체크하는 방법은 "해당 Operation에 소요되는 `gas와 해당 tx가 처리 될 당시의 gasPrice의 곱`"으로 계산하실 수 있습니다.

Klay 전송의 경우 21,000 Gas가 소요되고 토큰 전송의 경우 해당 토큰 컨트랙트의 구현사항에 따라 소요되는 Gas가 달라집니다.

토큰 전송의 경우 [klay\_estimateGas](https://docs.klaytn.foundation/dapp/json-rpc/api-references/klay/transaction#klay_estimategas)로 얼마의 Gas가 들지를 확인해보시면 됩니다.

제가 만약 해당 기능을 구현한다면 이렇게 정확한 값으로 측정해서 수수료를 책정하기 보다는 질문자 분이 말씀해주신 것처럼 "수수료가 충분하냐"에 좀 더 중점을 두고 유저가 `0.5 KLAY` 이상의 KLAY를 갖고 있는지 확인할 거 같습니다.

현재 메인넷 기준으로 KLAY를 전송할 때 사용되는 수수료는 0.00525 KLAY 입니다만, 토큰 전송의 경우 스마트 컨트랙트를 실행하다보니 0.00525 KLAY 보다는 더 많은 KLAY가 소요됩니다.

답변이 되었길 바랍니다.
