okx / ord

👁‍🗨 Rare and exotic sats
https://ordinals.com
Creative Commons Zero v1.0 Universal
46 stars 29 forks source link

关于 okx 部分,这些结构体的含义在哪里可以查到资料? #25

Closed Rodert closed 6 months ago

Rodert commented 7 months ago

关于 okx 部分,这些结构体的含义在哪里可以查到资料? 比如:

#[derive(Debug, Clone, Deserialize, Serialize, PartialEq)]
pub struct InscriptionOp {
  pub txid: Txid,
  pub action: Action,
  pub sequence_number: u32,
  pub inscription_number: Option<i32>,
  pub inscription_id: InscriptionId,
  pub old_satpoint: SatPoint,
  pub new_satpoint: Option<SatPoint>,
}
dubuqingfeng commented 7 months ago

后面会增加更多文档部分,这是一个交易的 ordinals 事件,包含创建和转移,会按区块解析这些事件,然后存储到浏览器等后端组件

Rodert commented 7 months ago

更新中... 使用中一些笔记。 https://gist.github.com/Rodert/2535ed8c07942e969567b1cc2f32a112