> For the complete documentation index, see [llms.txt](https://docs.icpex.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.icpex.org/icrc-2+-protocol/method-calling-guide.md).

# Method Calling Guide

## 1.Burn Fee Calculation

Users can call the "icrc1\_metadata" method to return the Burn Fee.

### (1)Burn Fee in Fixed Amount Mode

&#x20;After calling the "icrc1\_metadata" method, check the return result of the "icrc1:burn\_fee" field.&#x20;

Example:&#x20;

When this method of canister pbuvh-yiaaa-aaaam-acfpq-cai is called, the return value of the "icrc1:burn\_fee" field is 1\_000\_000\_000\_000\_000. Considering that its decimals is 18, the Burn Fee is 0.001. The details of the return result are shown in the figure below:

<figure><img src="/files/cD0qGXu2BoFPoVcnr6E6" alt=""><figcaption></figcaption></figure>

Or you can call the "icrc\_plus\_fee\_info" method to check the return result of the "burn\_fee" field, as shown below:

<figure><img src="/files/oCZKeuxaMXiStaIpKwuw" alt=""><figcaption></figcaption></figure>

### (2)Burn Fee in Percentage Mode

After calling the "icrc1\_metadata" method, check the return result of the "icrc1:burn\_fee\_rate" field and divide by 10,000 to get the percentage rate.&#x20;

Example:&#x20;

When calling the method of canister o64gq-3qaaa-aaaam-acfla-cai, the method returns a burn\_fee\_rate value of 100, as shown below:

<figure><img src="/files/cYgw1ADmNu3QzPzSUPqw" alt=""><figcaption></figcaption></figure>

Therefore, the Burn Fee Rate is 100/10,000 = 1%.

## 2.Transfer Fee Calculation

Users can call the "icrc1\_metadata" method to return the Transfer Fee.

### (1)Transfer Fee in Fixed Amount Mode

After calling the "icrc1\_metadata" method, check the return result of the "icrc1:fee" field.&#x20;

Example:&#x20;

When the method of canister zuwx2-fyaaa-aaaam-ack3q-cai is called, the return value of the "icrc1:fee" field is 10\_000\_000. Considering that its decimals is 8, the Transfer Fee is 0.1. The details of the return result are shown in the figure below:

<figure><img src="/files/IYuiCj9iDmakq4NX2TLm" alt=""><figcaption></figcaption></figure>

Or you can call the "icrc\_plus\_fee\_info" method to check the return result of the "transfer\_fee" field, as shown below:

<figure><img src="/files/g7dGrWaFrtxgDUjEbOVQ" alt=""><figcaption></figcaption></figure>

### (2)Transfer Fee in Percentage Mode

After calling the "icrc1\_metadata" method, check the return result of the "icrc1:transfer\_fee\_rate" field and divide by 10,000 to get the percentage rate.&#x20;

Example:&#x20;

When calling the method of canister o64gq-3qaaa-aaaam-acfla-cai, the method returns a "transfer\_fee\_rate" value of 100, as shown below:

<figure><img src="/files/pwf55bTAZ720E8hs4e4F" alt=""><figcaption></figcaption></figure>

Therefore, the Transfer Fee Rate is 100/10,000 = 1%.

## 3.Number of Token Holders

Users can call the "icrc\_plus\_holders\_count" method to return the result.&#x20;

Example:&#x20;

When calling the method of canister o64gq-3qaaa-aaaam-acfla-cai, the returned value is the number of token holders, as shown below:

<figure><img src="/files/tv1IVklXSXHLYcmuUe4b" alt=""><figcaption></figcaption></figure>

## 4.Distribution of Holdings

Users can call the "icrc\_plus\_holders\_balance" method to return the result.&#x20;

Parameter 1 is the starting index.&#x20;

Parameter 2 is the number of records to query.&#x20;

Example:&#x20;

When calling the method of canister o64gq-3qaaa-aaaam-acfla-cai with Parameter 1 as 0 and Parameter 2 as 2 (i.e., querying 2 records starting from index 0), the method returns the result as shown below:

<figure><img src="/files/sFeHHFLsiqhkpIqAy9AM" alt=""><figcaption></figcaption></figure>

## 5.Amount of Cycles of Canister

Users can call the "icrc\_plus\_cycles" method to return the result.&#x20;

Example:&#x20;

When calling this method of canister o64gq-3qaaa-aaaam-acfla-cai, the method returns a value of 4\_328\_187\_225\_519, which is the number of cycles remaining for the canister. As shown below:

<figure><img src="/files/TqWZmt5WSY2MZVB8M7dC" alt=""><figcaption></figcaption></figure>

## 6.Relinquish Ownership of the Token Canister

Token creators can call the "icrc\_plus\_set\_minting\_account" method through a platform that has integrated the ICRC-2+ protocol to transfer the ownership of the token canister to the black hole address(aaaaa\_aa).

The method is shown below.

<figure><img src="/files/G4CGH2ru1ylWseEBQnhE" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.icpex.org/icrc-2+-protocol/method-calling-guide.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
