Synthetix
/getprice
Get the exchange amount in Protocol Tokens for entered Pegged Tokens.
GET
https://api.expand.network/synthetic/getprice
Query Parameters
Name
Type
Description
amount*
String
Amount in Synths.
/depositpeggedtoken
Deposit pegged token.
POST
https://api.expand.network/synthetic/depositpeggedtoken
Request Body
Name
Type
Description
amount*
String
Amount of pegged token.
from*
String
Address of the sender of the token.
gas*
String
Maximum gas limit provided by the sender, for the transaction.
gasPriority
String
low, medium, or high.
/withdrawpeggedtoken
Withdraw pegged token.
POST
https://api.expand.network/synthetic/withdrawpeggedtoken
Request Body
Name
Type
Description
from*
String
Address of the owner of the token.
gas*
String
Maximum gas to be approved for the transaction.
gasPriority
String
low, medium, or high.
Last updated