⚙️API
https://api.lodestarfinance.io/
Returns the computed value from:20,000,000 - amount in reservior contract - amount in comptroller contract - amount in tokenfix swap contract - amount on each of the vesting contracts.
Responses
200
The circulating supply for the LODE token.
application/json
502
Gateway timeout error. The API is either down or overwhelmed with concurrent requests.
circulatingSupply
A float representing the current amount of circulating LODE tokens.
get
GET /circulatingSupply HTTP/1.1
Host:
Accept: */*
{
"circulatingSupply": [
1
]
}
Responses
200
The deployed contracts used in the Lodestar protocol.
application/json
502
Gateway timeout error. The API is either down or overwhelmed with concurrent requests.
blockNumber
The arbitrum block number from when the contract was initially deployed.
contractAddress
The address for the returned deployed contract.
contractName
The name of the returned deployed contract.
contractSymbol
The symbol of the returned deployed contract
contractTxnHash
The transaction hash from when the contract was initially deployed.
network
The network the contract is deployed on.
timestamp
A timestamp of when the contract was initially deployed.
get
GET /deployedContracts HTTP/1.1
Host:
Accept: */*
{
"contractID": {}
}
Responses
200
The cToken contracts used in the Lodestar protocol.
application/json
502
Gateway timeout error. The API is either down or overwhelmed with concurrent requests.
cTokenAddress
The address for the returned cToken contract.
cTokenID
An identifier used for recordkeeping for the returned cToken contract.
cTokenName
The name of the returned cToken contract.
cTokenSymbol
The symbol of the returned cToken contract.
get
GET /cTokens HTTP/1.1
Host:
Accept: */*
{
"cTokenID": {}
}
Responses
200
The underlying token contracts used in the Lodestar protocol.
application/json
502
Gateway timeout error. The API is either down or overwhelmed with concurrent requests.
underlyingTokenAddress
The address for the returned underlying token.
underlyingTokenID
An identifier used for recordkeeping for the returned underlying token.
underlyingTokenName
The name of the returned underlying token.
underlyingTokenSymbol
The symbol of the returned underlying token.
get
GET /underlyingTokens HTTP/1.1
Host:
Accept: */*
{
"underlyingTokenID": {}
}
Last updated