df-lighter-core 0.0.1-beta

Lighter SDK for Rust: markets, account, trading, transfers, pools and binary options on Lighter and on Robinhood Chain, with exact decimals and the API key signer in Rust. Native and wasm.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! HTTP to the REST API: the [`Http`] wire, the [`Transport`] every read and send goes through,
//! what `sendTx` answers, and the rate limit.

mod api;
pub mod limit;
pub mod transport;

pub(crate) use api::Api;
pub use limit::{Kind, Spent, Tier};
pub use transport::{
    API_PREFIX, ApiError, Call, Http, MOST_IN_BATCH, Method, OFFLINE, Request, Response, Sent, SentBatch, Transport,
    TransportError, codes, decode, form, read, send_tx, send_tx_batch, send_tx_batch_call, send_tx_call,
};