This is a Go library for the OKX OS API.
go get -u github.com/imzhongqi/okxos
client := client.NewClient("key", "secret", "passphrase",
client.WithProjectID("test"),
)
walletapi := wallet.NewWalletAPI(client)
_, err := walletapi.ListSupportedChains(context.Background())
if err != nil {
panic(err)
}
- Wallet API
- Wallet Account Management API
- Transaction Broadcasting API
- Dex API
- Swap API
- Cross Chain API
- Limit Order API (WIP)
- Marketplace API
- DeFi API
Contributions are welcome! Please feel free to submit a PR.