ord-reqwest 0.4.0

A lightweight HTTP client for ordinals server and runes utility
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use ordinals::{Edict, RuneId};

pub struct EtchingDetails {
    pub tx_id: String,
    pub rune_name: String,
    pub supply: Option<u128>,
    pub mintable: bool,
}
pub enum RuneTransaction {
    ETCHING(EtchingDetails),
    MINT(RuneId),
    TRANSFER(Vec<Edict>),
}
pub struct RuneTxDetails {
    pub tx_id: String,
    pub rune_tx: RuneTransaction,
}