How To Pay Transaction Fee

This tutorial covers the process of registering tokens as system tokens and using them as transaction fees.

This tutorial will teach you how to register tokens issued in a multi-chain environment as system tokens and use them as gas fees.

Tutorial Objectives

By completing this tutorial, you will be able to:

  • Build a RelayChain <> Parachain test network using a zombie network.

  • Propose governance to register tokens issued in a parachain as system tokens in the relay chain.

  • After governance approval, pay gas fees with the system tokens issued in the parachain.

Before You Start

Before you start, make sure to:

Using System Tokens as Gas Fees

Let's call the transfer transaction of Assets as follows:

Specify the token to be used as the transaction fee.

When the transaction is executed successfully, you can see the event that the transaction fee was paid with the system token as follows:

Last updated