rust-okx 0.5.2

Async Rust client for the OKX v5 REST API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! `funding` WebSocket channel helpers.

use crate::ws::Arg;

/// Subscribe to `deposit-info`.
///
/// OKX docs: <https://www.okx.com/docs-v5/en/#funding-account-websocket-deposit-info-channel>
pub fn deposit_info() -> Arg {
    Arg::new("deposit-info")
}

/// Subscribe to `withdrawal-info`.
///
/// OKX docs: <https://www.okx.com/docs-v5/en/#funding-account-websocket-withdrawal-info-channel>
pub fn withdrawal_info() -> Arg {
    Arg::new("withdrawal-info")
}