#sdk #oklink #rust

oklink

A Rust SDK for interacting with the OKLink API

2 releases

Uses new Rust 2024

new 0.0.2 Apr 18, 2025
0.0.1 Apr 18, 2025

#300 in HTTP client

MIT license

23KB
514 lines

OKLink SDK for Rust

A Rust SDK for interacting with the OKLink API.

Features

  • Interact with OKLink API endpoints.
  • Easy-to-use interface for common operations.
  • Supports various API functionalities.

Installation

Add the following to your Cargo.toml:

usage

use oklink_sdk_rs::OklinkClient;

#[tokio::main]
async fn main() {
        let client = OkLinkClient::new(
            "https://www.oklink.com/api/v5/explorer".to_string(),
            api_key,
            "btc".to_string(),
            1,
        );
}

Dependencies

~7–19MB
~258K SLoC