Skip to content

Get reward percentages

GET /rewards/user/percentages

Server: https://api.openfish.me

Authentication: L2 (HMAC) required


HeaderDescription
OPENFISH_API_KEYAPI key (UUID)
OPENFISH_TIMESTAMPUnix timestamp
OPENFISH_PASSPHRASEAPI passphrase
OPENFISH_SIGNATUREHMAC-SHA256 signature

NameTypeDefaultDescription
signature_typeinteger0Signature type. Use 0 for current EOA integrations.

A JSON object mapping each condition_id to the user’s volume share (as a percentage) in that market.

Example Response:

{
"0xbd31dc8a...": 2.54,
"0x197fe501...": 8.12,
"0xfcd32f70...": 0.0
}
{ "error": "invalid authorization" }