Get SMOY Price and TVL
GET
https://api.samoyedfinance.app/quote/info
{
"price": 0.02137,
"bnbPrice": 400.7752,
"tvl": 166168.7684,
"currency": "USD"
}
Get Raffle information
GET
https://api.samoyedfinance.app/quote/raffle
{
"data": {
"balance": 0,
"balanceUSD": 0,
"currency": "BNB",
"vaults": [],
"minRaffleAmount": 0.01,
"minVaultAmount": 0.003,
"minVaultCount": 2,
"raffle": "https://bscscan.com/address/0xcF586d88EcA628d2F62791352Fb36DBDA3B0514e#writeContract",
"winner": null
}
}
Get Vaults information
GET
https://api.samoyedfinance.app/quote/vault
{
"data": [
{
"symbol": "SMOY",
"tvl": 1929.6695,
"pendingReward": 0.0073,
"strategy": "https://bscscan.com/address/0xa1B0A2c8e71A7EB620f326DC14aDb0fD0785FdbC#writeContract",
"helper": "https://bscscan.com/address/0x89d7dDcaf8C7d8F4506925b242cfF5b6452f8b55"
},
{
"symbol": "BNB-BUSD",
"tvl": 11547.4345,
"pendingReward": 0.1326,
"strategy": "https://bscscan.com/address/0xB8a4874c44F1ED9B952EAbD9bC42e37e3B675732#writeContract",
"helper": "https://bscscan.com/address/0x85ACfa6EFe7d536c19A30fD154F1f8BA02bAc5fB"
},
{
"symbol": "AVAX-BNB",
"tvl": 604.0903,
"pendingReward": 7.9726,
"strategy": "https://bscscan.com/address/0x7eF609439e71AdE6dfc39450F0C0Ba20dF7E531d#writeContract",
"helper": "https://bscscan.com/address/0x85ACfa6EFe7d536c19A30fD154F1f8BA02bAc5fB"
},
{
"symbol": "GALA-BNB",
"tvl": 120.7482,
"pendingReward": 2.1597,
"strategy": "https://bscscan.com/address/0xD5266B69AFcc8dAFcb4492387Ba6c24dB6c28Cad#writeContract",
"helper": "https://bscscan.com/address/0x85ACfa6EFe7d536c19A30fD154F1f8BA02bAc5fB"
},
{
"symbol": "MATIC-BNB",
"tvl": 350.0697,
"pendingReward": 4.1093,
"strategy": "https://bscscan.com/address/0x30dF67a616EB1b2DB7BB6983580CBA4F0F58BEcE#writeContract",
"helper": "https://bscscan.com/address/0x85ACfa6EFe7d536c19A30fD154F1f8BA02bAc5fB"
},
{
"symbol": "USDT-BUSD",
"tvl": 151.1108,
"pendingReward": 0.4965,
"strategy": "https://bscscan.com/address/0x833c3761a57D0b706b4C7676270981c8A67157E0#writeContract",
"helper": "https://bscscan.com/address/0x85ACfa6EFe7d536c19A30fD154F1f8BA02bAc5fB"
}
],
"currency": "USD"
}
Get SMOY Price
GET
https://api.samoyedfinance.app/quote/price
{
"smoy": 0.02137,
"bnb": 400.7752,
"eth": 2580.4651,
"btc": 36313.5233,
"currency": "USD"
}
Get Token
POST
https://api.samoyedfinance.app/auth/login
Pls contact us if you need a credential
Query Parameters
{
"success": true,
"message": "Authentication successful",
"user": {
"username": "foo"
},
"token": "YOUR_TOKEN",
"expirationDate": 1663241111
}
{ "message": "Error message"}
List all user's NFTs
GET
https://api.samoyedfinance.app/nft/:account
Path Parameters
{
"godfathers": [
{
"seasonNumber": 1,
"ticketType": 6,
"rarity": 1,
"ticketNumber": 4649880
},
{
"seasonNumber": 1,
"ticketType": 6,
"rarity": 1,
"ticketNumber": 4619803
},
{
"seasonNumber": 1,
"ticketType": 6,
"rarity": 1,
"ticketNumber": 385480
}
],
"puppys": [
{
"seasonNumber": 1,
"ticketType": 2,
"pack": 0,
"ticketNumber": 4
},
{
"seasonNumber": 1,
"ticketType": 2,
"pack": 0,
"ticketNumber": 12
}
]
}
{
"error": {
"status": 500,
"message": "invalid address (argument=\"address\", value=\"0xad7a593f7ea7730f437accadc1846115eb9a2993s\", code=INVALID_ARGUMENT, version=address/5.4.0) (argument=\"owner\", value=\"0xad7a593f7ea7730f437accadc1846115eb9a2993s\", code=INVALID_ARGUMENT, version=abi/5.4.1)"
}
}
Get Godfather image
GET
https://api.samoyedfinance.app/nft/godfather/:ticketNumber
public access
Path Parameters
Query Parameters
{
"message": "rarity is required"
}
or
{
"message": "Incorrect size, only small, medium, large"
}
Get Puppy image
GET
https://api.samoyedfinance.app/nft/puppy/:ticketNumber
public access
Path Parameters
Query Parameters
{
"message": "rarity is required"
}
or
{
"message": "Incorrect size, only small, medium, large"
}
Get Godfather info
GET
https://api.samoyedfinance.app/nft/godfather/:ticketNumber/info
Path Parameters
Query Parameters
{
"seasonNumber": 1,
"ticketType": 6,
"rarity": 1,
"ticketNumber": 143597
}
Get Puppy info
GET
https://api.samoyedfinance.app/nft/puppy/:ticketNumber/info
Path Parameters
Query Parameters
{
"seasonNumber": 1,
"ticketType": 2,
"pack": 0,
"ticketNumber": 18
}
Logout
POST
https://api.samoyedfinance.app/auth/logout
Server status
GET
https://api.samoyedfinance.app/auth/server_status