API Reference

Our rate limit system runs on a sliding window algorithm with the following configuration and is only applied to endpoints that update state. Rate limits are sub-account based and shared across HTTP and WS endpoints

Breaking the limit will continue adding to the counter hence increasing cooldown time.

RATE_LIMIT_CAP: 50 (increasing to 100 soon)

RATE_LIMIT_WINDOW: 10 seconds

const (
	REQUEST_WEIGHT__DEFAULT        RequestWeight = 1
	REQUEST_WEIGHT__CANCEL_REPLACE RequestWeight = 2
	REQUEST_WEIGHT__WITHDRAW       RequestWeight = 10
	REQUEST_WEIGHT__APPROVE_SIGNER RequestWeight = 10
)