Skip to content

A library for interacting with the Axelar GMP REST API

Notifications You must be signed in to change notification settings

PeggyJV/axelar-gmp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Axelar GMP

A simple library for using the Axelar GMP REST API. Right now only the searchGMP method is implemented, and only a subset of the available fields are deserialized in the GMPTransaction type contained in the response. Feel free to submit a PR to make it more exhaustive.

Usage

The library uses the builder pattern to construct a request and send it to the GMP API:

let result = SearchGMPRequestBuilder::default()
    // any number of fields can be set
    .from_time(1715400000)
    .to_time(1715462400)
    // # of results in the page
    .size(100)
    // constructs the request type
    .build()
    // call the GMP API with the request
    .send()
    .await;

println!("{result:?}");

About

A library for interacting with the Axelar GMP REST API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages