Starting guide on how to quickly integrate the @txfusion/txsync-viem🚀
📥 Installation & setup
Your API requests are authenticated using API keys. Any request that doesn't include an API key will return an error.
You can generate an API key from your Dashboard at any time.
Install the @txfusion/txsync-viem package
The first step to interact with our API is to install the official library:
# Install via NPM
npm install @txfusion/txsync-viem
# Install via Yarn
yarn add @txfusion/txsync-viem
Get your paymaster object
To be able to work with the paymaster and call the methods of the Paymaster object, you first need to get it by passing the address of the paymaster contract.
You can find how these and many other methods work, which arguments they accept, and how they interact deeply explained in the section and the section.