Skip to content

fintag-io/fintag-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FinTag JavaScript SDK

The FinTag JavaScript SDK provides a simple and efficient way to interact with the FinTag API. With this SDK, you can easily integrate FinTag's powerful features into your JavaScript applications.

Installation

To install the FinTag JavaScript SDK, use npm:

npm install @fintag/js

Usage

Here's a quick example of how to use the FinTag JavaScript SDK:

import { FintagClient } from "@fintag/js";

const client = new FintagClient("<API_URL>", "<API_KEY>");

// Verify a FinTag
const verificationResult = await client.verify("fintag-id");

// Get wallet information
const walletInfo = await client.getWalletInfo("fintag-id");

API Reference

FintagClient

constructor(apiUrl: string, apiKey: string)

Creates a new instance of the FintagClient.

  • apiUrl: The base URL for the API.
  • apiKey: Your API key for authenticating requests.

verify(fintag: string)

Verifies a FinTag.

  • fintag: The ID of the FinTag to verify.

Returns a promise that resolves with the verification result.

getWalletInfo(fintag: string)

Retrieves wallet information for a FinTag.

  • fintag: The ID of the FinTag to retrieve wallet information for.

Returns a promise that resolves with the wallet information.

Contributing

We welcome contributions to the FinTag JavaScript SDK! If you'd like to contribute, please fork the repository and submit a pull request.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors