<p>There are several ways to get transaction information. The most known API provider is probably blockfrost.io, but there are others like tangocrypto.com, or api.koios.rest.</p>
<p>You'll need to know the transaction hash and will be able to query information like the spent transaction fee.</p>
<p>The transaction fee applies for using the network and is enforced on protocol level. The concept of royalties does not exist in the protocol. Hence, they are not part of the transaction fee.</p>
<p>DApps/marketplaces need to make sure to handle royalties themselves. You might be interested in reading the <a href="https://cips.cardano.org/cips/cip27/" rel="nofollow noreferrer">CIP 27</a> (Cardano Improvement Proposal) describing a community standard for royalties.</p>
<p>I'd suggest you check out this resource as it includes a lot of great information and links to start with: <a href="https://developers.cardano.org/docs/get-started" rel="nofollow noreferrer">https://developers.cardano.org/docs/get-started</a></p>

CC BY-SA 4.0
2023-03-20T12:35:24.503Z
2023-03-20T12:41:14.300Z
2023-03-20T12:41:14.300Z
LACE pool
<p>Is there any api for to get transaction fees of the NFTs when buy or sold and does the transaction fees includes Royalty fees ?</p>

<cardano-address><api><cardano-api>
How to get total fees of a NFT transaction in cardano blockchain?
# How to get total fees of a NFT transaction in cardano blockchain?

(Asked by: username_0 on 2023-03-20)

Is there any api for to get transaction fees of the NFTs when buy or sold and does the transaction fees includes Royalty fees ?

**Tags:** cardano-address, api, cardano-api

---

## 1 answers

### Answer by username_1 on 2023-03-20. Score: 0

There are several ways to get transaction information. The most known API provider is probably blockfrost.io, but there are others like tangocrypto.com, or api.koios.rest.

You'll need to know the transaction hash and will be able to query information like the spent transaction fee.

The transaction fee applies for using the network and is enforced on protocol level. The concept of royalties does not exist in the protocol. Hence, they are not part of the transaction fee.

DApps/marketplaces need to make sure to handle royalties themselves. You might be interested in reading the [CIP 27](https://cips.cardano.org/cips/cip27/) (Cardano Improvement Proposal) describing a community standard for royalties.

I'd suggest you check out this resource as it includes a lot of great information and links to start with: <https://developers.cardano.org/docs/get-started>


---

