2 분 소요

Hedera Transaction에서 assessed_custom_fees의 의미.

assessed_custom_fees 용도

  • assessed_custom_fees는 NFT가 거래될때 Transaction에 추가되는 항목으로 NFT의 최초 소유자(주인)에게 전달되는 금액이 표시된다.

분석 결과

  • assessed_custom_fees와 staking_reward_transfers에 노출된 금액은 transfer의 일부 금액이며 추가로 발생된 금액은 아니다.
  • assessed_custom_fees + staking_reward_transfers <= transfer의 공식이 성립된다.

대상항목 1

  • 0.0.1223480 : assessed_custom_fees(196000000) < transfer(216000000)

https://mainnet-public.mirrornode.hedera.com/api/v1/transactions/0.0.1064038-1690269997-164105844

{
   "transactions":[
      {
         "assessed_custom_fees":[
            {
               "amount":196000000,
               "collector_account_id":"0.0.1223480",
               "token_id":null,
               "effective_payer_account_ids":[
                  "0.0.1067819"
               ]
            }
         ],
         "bytes":null,
         "charged_tx_fee":4607081,
         "consensus_timestamp":"1690270013.545968013",
         "entity_id":null,
         "max_fee":"500000000",
         "memo_base64":"U2VudFggTkZUIFB1cmNoYXNlOiAwLjAuMTIyMzU0MCAjMTQ4NiAob2ZmZXIp",
         "name":"CRYPTOTRANSFER",
         "nft_transfers":[
            {
               "is_approval":true,
               "receiver_account_id":"0.0.1030763",
               "sender_account_id":"0.0.1067819",
               "serial_number":1486,
               "token_id":"0.0.1223540"
            }
         ],
         "node":"0.0.8",
         "nonce":0,
         "parent_consensus_timestamp":null,
         "result":"SUCCESS",
         "scheduled":false,
         "staking_reward_transfers":[
            
         ],
         "token_transfers":[
            
         ],
         "transaction_hash":"7IThBMUTeq7GM82hzJscurfXuCSOZpIT9be6MrANUivlo9z3Im+9e13N3IAvLIUg",
         "transaction_id":"0.0.1064038-1690269997-164105844",
         "transfers":[
            {
               "account":"0.0.8",
               "amount":177922,
               "is_approval":false
            },
            {
               "account":"0.0.98",
               "amount":4429159,
               "is_approval":false
            },
            {
               "account":"0.0.971895",
               "amount":60000000,
               "is_approval":false
            },
            {
               "account":"0.0.1030763",
               "amount":-4000000000,
               "is_approval":false
            },
            {
               "account":"0.0.1064038",
               "amount":-4607081,
               "is_approval":false
            },
            {
               "account":"0.0.1067819",
               "amount":3724000000,
               "is_approval":false
            },
            {
               "account":"0.0.1223480",
               "amount":216000000,
               "is_approval":false
            }
         ],
         "valid_duration_seconds":"120",
         "valid_start_timestamp":"1690269997.164105844"
      }
   ]
}

대상항목 2

  • 0.0.1072694 : assessed_custom_fees(235200000) + staking_reward_transfers(6326915280) = transfer(6562115280)
  • 0.0.3094682 : assessed_custom_fees(94080000) = transfer(94080000)

https://mainnet-public.mirrornode.hedera.com/api/v1/transactions/0.0.1064038-1690243271-844206030

{
   "transactions":[
      {
         "assessed_custom_fees":[
            {
               "amount":235200000,
               "collector_account_id":"0.0.1072694",
               "token_id":null,
               "effective_payer_account_ids":[
                  "0.0.2184982"
               ]
            },
            {
               "amount":94080000,
               "collector_account_id":"0.0.3094682",
               "token_id":null,
               "effective_payer_account_ids":[
                  "0.0.2184982"
               ]
            }
         ],
         "bytes":null,
         "charged_tx_fee":4646709,
         "consensus_timestamp":"1690243287.313735609",
         "entity_id":null,
         "max_fee":"500000000",
         "memo_base64":"U2VudFggSW5zdGFudCBTZWxsIDAuMC4zMDk0NzIwICMzMTI2OSBUbyAwLjAuODEyNTM0",
         "name":"CRYPTOTRANSFER",
         "nft_transfers":[
            {
               "is_approval":false,
               "receiver_account_id":"0.0.812534",
               "sender_account_id":"0.0.2184982",
               "serial_number":31269,
               "token_id":"0.0.3094720"
            }
         ],
         "node":"0.0.8",
         "nonce":0,
         "parent_consensus_timestamp":null,
         "result":"SUCCESS",
         "scheduled":false,
         "staking_reward_transfers":[
            {
               "account":"0.0.812534",
               "amount":774843888
            },
            {
               "account":"0.0.1072694",
               "amount":6326915280
            },
            {
               "account":"0.0.1223480",
               "amount":449099952
            }
         ],
         "token_transfers":[
            
         ],
         "transaction_hash":"cAI6I/dclRwy/6Nt1V5oLaam17i9HMeQ9jL3+fzmtEAu58BQdKFfEpNHYAW5TNTG",
         "transaction_id":"0.0.1064038-1690243271-844206030",
         "transfers":[
            {
               "account":"0.0.8",
               "amount":179469,
               "is_approval":false
            },
            {
               "account":"0.0.98",
               "amount":4467240,
               "is_approval":false
            },
            {
               "account":"0.0.800",
               "amount":-7550859120,
               "is_approval":false
            },
            {
               "account":"0.0.812534",
               "amount":-4025156112,
               "is_approval":false
            },
            {
               "account":"0.0.971895",
               "amount":72000000,
               "is_approval":false
            },
            {
               "account":"0.0.1064038",
               "amount":-4646709,
               "is_approval":false
            },
            {
               "account":"0.0.1072694",
               "amount":6562115280,
               "is_approval":false
            },
            {
               "account":"0.0.1223480",
               "amount":473099952,
               "is_approval":false
            },
            {
               "account":"0.0.2184982",
               "amount":4374720000,
               "is_approval":false
            },
            {
               "account":"0.0.3094682",
               "amount":94080000,
               "is_approval":false
            }
         ],
         "valid_duration_seconds":"120",
         "valid_start_timestamp":"1690243271.844206030"
      }
   ]
}

대상항목 3

  • 0.0.1072694 : assessed_custom_fees(249900000) = transfer(249900000)
  • 0.0.3094682 : assessed_custom_fees(99960000) = transfer(99960000)

https://mainnet-public.mirrornode.hedera.com/api/v1/transactions/0.0.1064038-1690510291-966963466

{
   "transactions":[
      {
         "assessed_custom_fees":[
            {
               "amount":249900000,
               "collector_account_id":"0.0.1072694",
               "token_id":null,
               "effective_payer_account_ids":[
                  "0.0.2175463"
               ]
            },
            {
               "amount":99960000,
               "collector_account_id":"0.0.3094682",
               "token_id":null,
               "effective_payer_account_ids":[
                  "0.0.2175463"
               ]
            }
         ],
         "bytes":null,
         "charged_tx_fee":4633000,
         "consensus_timestamp":"1690510312.034899453",
         "entity_id":null,
         "max_fee":"500000000",
         "memo_base64":"U2VudFggSW5zdGFudCBTZWxsIDAuMC4zMDk0NzIwICM3ODM0IFRvIDAuMC41NDEyNTU=",
         "name":"CRYPTOTRANSFER",
         "nft_transfers":[
            {
               "is_approval":false,
               "receiver_account_id":"0.0.541255",
               "sender_account_id":"0.0.2175463",
               "serial_number":7834,
               "token_id":"0.0.3094720"
            }
         ],
         "node":"0.0.8",
         "nonce":0,
         "parent_consensus_timestamp":null,
         "result":"SUCCESS",
         "scheduled":false,
         "staking_reward_transfers":[
            
         ],
         "token_transfers":[
            
         ],
         "transaction_hash":"0oafA7UBy5/I95CjDSAbSt1LXKTdo4zExKeBB52VbkF5XYvLUEGIXiUqX2lTsWD/",
         "transaction_id":"0.0.1064038-1690510291-966963466",
         "transfers":[
            {
               "account":"0.0.8",
               "amount":178936,
               "is_approval":false
            },
            {
               "account":"0.0.98",
               "amount":4454064,
               "is_approval":false
            },
            {
               "account":"0.0.541255",
               "amount":-5100000000,
               "is_approval":true
            },
            {
               "account":"0.0.971895",
               "amount":76500000,
               "is_approval":false
            },
            {
               "account":"0.0.1064038",
               "amount":-4633000,
               "is_approval":false
            },
            {
               "account":"0.0.1072694",
               "amount":249900000,
               "is_approval":false
            },
            {
               "account":"0.0.1223480",
               "amount":25500000,
               "is_approval":false
            },
            {
               "account":"0.0.2175463",
               "amount":4648140000,
               "is_approval":false
            },
            {
               "account":"0.0.3094682",
               "amount":99960000,
               "is_approval":false
            }
         ],
         "valid_duration_seconds":"120",
         "valid_start_timestamp":"1690510291.966963466"
      }
   ]
}

대상항목 4

  • 0.0.1072694 : assessed_custom_fees(588000000) = transfer(588000000)
  • 0.0.3094682 : assessed_custom_fees(235200000) = transfer(235200000)

https://mainnet-public.mirrornode.hedera.com/api/v1/transactions/0.0.1064038-1690504119-025280676

{
   "transactions":[
      {
         "assessed_custom_fees":[
            {
               "amount":588000000,
               "collector_account_id":"0.0.1072694",
               "token_id":null,
               "effective_payer_account_ids":[
                  "0.0.795591"
               ]
            },
            {
               "amount":235200000,
               "collector_account_id":"0.0.3094682",
               "token_id":null,
               "effective_payer_account_ids":[
                  "0.0.795591"
               ]
            }
         ],
         "bytes":null,
         "charged_tx_fee":4694823,
         "consensus_timestamp":"1690504134.371579003",
         "entity_id":null,
         "max_fee":"1000000000",
         "memo_base64":"U2VudFggQnVsayBORlQgUHVyY2hhc2UgKHgzKQ==",
         "name":"CRYPTOTRANSFER",
         "nft_transfers":[
            {
               "is_approval":true,
               "receiver_account_id":"0.0.2015633",
               "sender_account_id":"0.0.795591",
               "serial_number":13285,
               "token_id":"0.0.3094720"
            },
            {
               "is_approval":true,
               "receiver_account_id":"0.0.2015633",
               "sender_account_id":"0.0.795591",
               "serial_number":36795,
               "token_id":"0.0.3094720"
            },
            {
               "is_approval":true,
               "receiver_account_id":"0.0.2015633",
               "sender_account_id":"0.0.795591",
               "serial_number":36838,
               "token_id":"0.0.3094720"
            }
         ],
         "node":"0.0.8",
         "nonce":0,
         "parent_consensus_timestamp":null,
         "result":"SUCCESS",
         "scheduled":false,
         "staking_reward_transfers":[
            
         ],
         "token_transfers":[
            
         ],
         "transaction_hash":"PagfNNTtLCdzSgojAGMQDZ4CSzOt1hmlIoTWN8a6Uj7cgDgZUuy/0b0XnmB6YOyb",
         "transaction_id":"0.0.1064038-1690504119-025280676",
         "transfers":[
            {
               "account":"0.0.8",
               "amount":181649,
               "is_approval":false
            },
            {
               "account":"0.0.98",
               "amount":4513174,
               "is_approval":false
            },
            {
               "account":"0.0.795591",
               "amount":10936800000,
               "is_approval":false
            },
            {
               "account":"0.0.971895",
               "amount":138000000,
               "is_approval":false
            },
            {
               "account":"0.0.1064038",
               "amount":-4694823,
               "is_approval":false
            },
            {
               "account":"0.0.1072694",
               "amount":588000000,
               "is_approval":false
            },
            {
               "account":"0.0.1223480",
               "amount":18000000,
               "is_approval":false
            },
            {
               "account":"0.0.2015633",
               "amount":-12000000000,
               "is_approval":false
            },
            {
               "account":"0.0.3063958",
               "amount":84000000,
               "is_approval":false
            },
            {
               "account":"0.0.3094682",
               "amount":235200000,
               "is_approval":false
            }
         ],
         "valid_duration_seconds":"120",
         "valid_start_timestamp":"1690504119.025280676"
      }
   ]
}

댓글남기기