/fxdx.rs

fusotao fxdx rust connector for maker

Primary LanguageRustApache License 2.0Apache-2.0

fxdx.rs

fusotao fxdx rust connector for maker

Sample example

let client = FxdxBuilder::<fxdx_rs::request::PrivPub>::endpoint(String::from("https://test-api.fxdx.finance"))
                                                        .address(String::from("your polkadot.js address"))
                                                        .secret(String::from("your maker key"))
                                                        .build()
                                                        .await?;

let symbols = client.query_symbols(fxdx_rs::request::Symbols).await?;