Skip to Content
API ReferenceMarketplaceEthena sUSDe API

Ethena sUSDe API logo Ethena sUSDe API

API for Ethena sUSDe contracts. Every ABI item below is callable as its own Spectrum JSON-RPC method. See the Marketplace overview for how the method names are built.

Staking

Deployments

DeploymentChainAddressMethods
sUSDe
susde
Ethereum0x9d39a5…7a349711

Methods

Functions

ReadconvertToAssetsspectrum_ethenasusde_ethereum_susde_call_convertToAssets

Converts sUSDe shares to USDe at the current rate (no getRate on vault)

curl -X POST https://your-endpoint.simplystaking.xyz/v1 \
  -H "Content-Type: application/json" \
{
  "jsonrpc": "2.0",
  "method": "spectrum_ethenasusde_ethereum_susde_call_convertToAssets",
  "params": {
    "args": [
      "0"
    ]
  },
  "id": 1
}
Inputs
NameType
sharesuint256
Outputs
NameType
output_0uint256
Try It
Demo endpoint: one request per second. Get your own endpoint for higher limits.
ReadconvertToSharesspectrum_ethenasusde_ethereum_susde_call_convertToShares

Converts USDe assets to sUSDe shares at the current rate

curl -X POST https://your-endpoint.simplystaking.xyz/v1 \
  -H "Content-Type: application/json" \
{
  "jsonrpc": "2.0",
  "method": "spectrum_ethenasusde_ethereum_susde_call_convertToShares",
  "params": {
    "args": [
      "0"
    ]
  },
  "id": 1
}
Inputs
NameType
assetsuint256
Outputs
NameType
output_0uint256
Try It
Demo endpoint: one request per second. Get your own endpoint for higher limits.
ReadtotalAssetsspectrum_ethenasusde_ethereum_susde_call_totalAssets

Fetches total USDe assets in the vault

curl -X POST https://your-endpoint.simplystaking.xyz/v1 \
  -H "Content-Type: application/json" \
{
  "jsonrpc": "2.0",
  "method": "spectrum_ethenasusde_ethereum_susde_call_totalAssets",
  "params": {
    "args": []
  },
  "id": 1
}
Outputs
NameType
output_0uint256
Try It
Demo endpoint: one request per second. Get your own endpoint for higher limits.
Readnamespectrum_ethenasusde_ethereum_susde_call_name

Fetches the name of the token

curl -X POST https://your-endpoint.simplystaking.xyz/v1 \
  -H "Content-Type: application/json" \
{
  "jsonrpc": "2.0",
  "method": "spectrum_ethenasusde_ethereum_susde_call_name",
  "params": {
    "args": []
  },
  "id": 1
}
Outputs
NameType
output_0string
Try It
Demo endpoint: one request per second. Get your own endpoint for higher limits.
Readsymbolspectrum_ethenasusde_ethereum_susde_call_symbol

Fetches the symbol of the token

curl -X POST https://your-endpoint.simplystaking.xyz/v1 \
  -H "Content-Type: application/json" \
{
  "jsonrpc": "2.0",
  "method": "spectrum_ethenasusde_ethereum_susde_call_symbol",
  "params": {
    "args": []
  },
  "id": 1
}
Outputs
NameType
output_0string
Try It
Demo endpoint: one request per second. Get your own endpoint for higher limits.
Readdecimalsspectrum_ethenasusde_ethereum_susde_call_decimals

Fetches the decimals of the token

curl -X POST https://your-endpoint.simplystaking.xyz/v1 \
  -H "Content-Type: application/json" \
{
  "jsonrpc": "2.0",
  "method": "spectrum_ethenasusde_ethereum_susde_call_decimals",
  "params": {
    "args": []
  },
  "id": 1
}
Outputs
NameType
output_0uint8
Try It
Demo endpoint: one request per second. Get your own endpoint for higher limits.
ReadtotalSupplyspectrum_ethenasusde_ethereum_susde_call_totalSupply

Fetches the totalSupply of the token

curl -X POST https://your-endpoint.simplystaking.xyz/v1 \
  -H "Content-Type: application/json" \
{
  "jsonrpc": "2.0",
  "method": "spectrum_ethenasusde_ethereum_susde_call_totalSupply",
  "params": {
    "args": []
  },
  "id": 1
}
Outputs
NameType
output_0uint256
Try It
Demo endpoint: one request per second. Get your own endpoint for higher limits.
ReadbalanceOfspectrum_ethenasusde_ethereum_susde_call_balanceOf

Fetches the balance of an address

curl -X POST https://your-endpoint.simplystaking.xyz/v1 \
  -H "Content-Type: application/json" \
{
  "jsonrpc": "2.0",
  "method": "spectrum_ethenasusde_ethereum_susde_call_balanceOf",
  "params": {
    "args": [
      "0x0000000000000000000000000000000000000001"
    ]
  },
  "id": 1
}
Inputs
NameType
accountaddress
Outputs
NameType
output_0uint256
Try It
Demo endpoint: one request per second. Get your own endpoint for higher limits.
Readallowancespectrum_ethenasusde_ethereum_susde_call_allowance

Fetches the allowance of an address for a spender

curl -X POST https://your-endpoint.simplystaking.xyz/v1 \
  -H "Content-Type: application/json" \
{
  "jsonrpc": "2.0",
  "method": "spectrum_ethenasusde_ethereum_susde_call_allowance",
  "params": {
    "args": [
      "0x0000000000000000000000000000000000000001",
      "0x0000000000000000000000000000000000000001"
    ]
  },
  "id": 1
}
Inputs
NameType
owneraddress
spenderaddress
Outputs
NameType
output_0uint256
Try It
Demo endpoint: one request per second. Get your own endpoint for higher limits.

Events

EventTransferspectrum_ethenasusde_ethereum_susde_getLogs_Transfer

The event emitted when a transfer is made

curl -X POST https://your-endpoint.simplystaking.xyz/v1 \
  -H "Content-Type: application/json" \
{
  "jsonrpc": "2.0",
  "method": "spectrum_ethenasusde_ethereum_susde_getLogs_Transfer",
  "params": {
    "args": [
      null,
      null,
      null
    ],
    "fromBlock": "latest",
    "toBlock": "latest"
  },
  "id": 1
}
Event arguments
NameTypeIndexed
fromaddressyes
toaddressyes
valueuint256no
Try It
Demo endpoint: one request per second. Get your own endpoint for higher limits.
EventApprovalspectrum_ethenasusde_ethereum_susde_getLogs_Approval

The event emitted when an approval is made

curl -X POST https://your-endpoint.simplystaking.xyz/v1 \
  -H "Content-Type: application/json" \
{
  "jsonrpc": "2.0",
  "method": "spectrum_ethenasusde_ethereum_susde_getLogs_Approval",
  "params": {
    "args": [
      null,
      null,
      null
    ],
    "fromBlock": "latest",
    "toBlock": "latest"
  },
  "id": 1
}
Event arguments
NameTypeIndexed
owneraddressyes
spenderaddressyes
valueuint256no
Try It
Demo endpoint: one request per second. Get your own endpoint for higher limits.