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
//! The [`Http`] wire and the [`Transport`] trait: any request out with its method, headers and
//! body, the GETs and form POSTs under `/api/v1` every read and send goes through, and what
//! `sendTx` answers.

pub mod answer;
pub mod calls;
pub mod wire;

pub use answer::{MOST_IN_BATCH, Sent, SentBatch, send_tx, send_tx_batch, send_tx_batch_call, send_tx_call};
pub use calls::{API_PREFIX, ApiError, Call, Transport, codes, decode, read};
pub use wire::{Http, Method, OFFLINE, Request, Response, TransportError, form};