Static Methods

Before building your transactions and targeting The Root Network pallets, you must import TransactionBuilder into your component and instantiate it.

Example:

import { TransactionBuilder } from '@futureverse/transact';

const assetBuilder = await TransactionBuilder.asset(api, signer, walletAddress, assetId).transfer({ destinationAddress: userSession?.futurepass, amount: 1 })

Note: Query capability is exposed from the root of the Transaction Builder class, enabling developers to query the chain. More details are available on the Query page of the Helper Functions.

Futureverse Transact currently provides the following static methods developed to build transactions for various pallets on The Root Network:

Last updated

© 2023 -> ♾️