Schemas

Price

NameTypeDescription

timestamp

number

The timestamp at pair's price.

symbol

string

The pair's symbol.

price

string

The pair's price.

changed

number

The pair's price change percent (n per thousand).

source

string

The source of price.

Product

NameTypeDescription

productHash

string

The product hash.

isPut

boolean

The product is put when true, or the product is call when false.

symbol

string

The product symbol.

underlying

The underlying detail.

strike

The strike detail.

collateral

The collateral detail.

underlyingPrice

The underlying price.

VToken

NameTypeDescription

address

string

The vToken address.

name

string

The vToken name.

symbol

string

The vToken symbol.

underlying

string

The underlying address.

strike

string

The strike address.

collateral

string

The collateral address.

strikePrice

string

The vToken strike price.

isPut

boolean

The vToken is put when true, or the vToken is call when false.

expiry

number

The timestamp at which this vToken will expiry.

decimals

number

The vToken decimals.

features

Array<string>

The vToken features

creator

string

The vToken creator address.

productHash

string

The product hash.

position

The vToken's position.

market

The vToken's market data.

stat

The vToken's stat.

VTokeMarket

NameTypeDescription

vTokenAddress

string

The vToken address.

timestamp

number

The timestamp.

ask1

string

The vToken ask1.

bid1

string

The vToken bid1.

volume

string

The vToken volume.

VTokenStat

NameTypeDescription

vTokenAddress

string

The vToken address.

timestamp

number

The timestamp.

totalSupply

string

The vToken totalSupply.

holder

number

The number of users that have held the vToken.

VTokenPosition

NameTypeDescription

vTokenAddress

string

The vToken address.

amount

string

The number of positions held by the 'owner'.

Order

NameTypeDescription

vTokenAddress

string

The vToken address.

orderHash

string

The order hash.

side

number

This is a ask order when 1, or is a bid order when 2.

type

number

This is a limit order when 1, or is a market order when 2.

price

string

The price of an option.

priceScaled

number

The price after scaled (number type for easy sorting).

amount

string

The number of options.

filled

string

The number of filled options.

size

string

The number of unfilled options.

fee

string

The transaction fees.

expiry

number

The timestamp when this order expired.

ctime

number

The created timestamp.

mtime

number

The updated timestamp.

limitOrder

The limit order detail.

signature

The order signature.

LimitOrder

NameTypeDescription

makerToken

string

The ERC20 token the maker is selling and the maker is selling to the taker.

takerToken

string

The ERC20 token the taker is selling and the taker is selling to the maker.

makerAmount

string

The amount of makerToken being sold by the maker.

takerAmount

string

The amount of takerToken being sold by the taker.

maker

string

The address of the maker, and signer, of this order.

taker

string

Allowed taker address. Set to zero to allow any taker.

chainId

number

The chain ID.

verifyingContract

string

The verifying contract

takerTokenFeeAmount

string

Amount of takerToken paid by the taker to the feeRecipient.

sender

string

Allowed address to call 'fillLimitOrder()' ('msg.sender').

feeRecipient

string

Recipient of maker token or taker token fees (if non-zero).

pool

string

The staking pool to attribute the 0x protocol fee from this order.

salt

string

Arbitrary number to enforce uniqueness of the order hash.

expiry

string

The timestamp when this order expired.

Signature

NameTypeDescription

v

number

r

string

s

string

signatureType

number

Long

NameTypeDescription

address

string

The owner address.

vTokenAddress

string

The vToken address.

isPut

boolean

The vToken is put when true, or the vToken is call when false.

expiry

number

The timestamp when this vToken expiried.

amount

string

The amount of options minted by the owner.

strikePrice

string

The strike price (denominated in strike asset).

expiryPrice

string

The expiry price (denominated in strike asset).

payout

string

The payout (denominated in collateral asset).

roe

number

Return on equity (n per thousand).

fee

string

The fee at which the remaining collateral is withdrawn (denominated in collateral asset).

state

number

The long position state.

ctime

number

The first timestamp at which mint options.

mtime

number

The timestamp when the amount changed.

underlyingSymbol

string

The underlying symbol.

LongPnL

NameTypeDescription

timestamp

number

The updated timestamp.

address

string

The owner address.

vTokenAddress

string

The vToken address.

amount

string

The amount of options minted by the owner.

expiryPrice

string

The expiry price (denominated in strike asset).

payout

string

The payout (denominated in collateral asset).

roe

number

Return on equity (n per thousand).

Product In Long Filter

NameTypeDescription

productSymbol

string

The product symbol.

underlyingSymbol

string

The underlying symbol.

Short

NameTypeDescription

address

string

The owner address.

vaultId

number

The vault ID.

index

number

The index in vault.

vTokenAddress

string

The vToken address.

isPut

boolean

The vToken is put when true, or the vToken is call when false.

expiry

number

The timestamp when this vToken expiried.

amount

string

The amount of options minted by the owner.

strikePrice

string

The strike price (denominated in strike asset).

expiryPrice

string

The expiry price (denominated in strike asset).

payout

string

The payout (denominated in collateral asset).

roe

number

Return on equity (n per thousand).

fee

string

The fee at which the remaining collateral is withdrawn (denominated in collateral asset).

state

number

The short position state.

ctime

number

The first timestamp at which mint options.

mtime

number

The timestamp when the amount changed.

Collateral

NameTypeDescription

address

string

The owner address.

vaultId

number

The vault ID.

index

number

The index in vault.

collateral

string

The collateral address.

amount

string

The collateral amount.

ctime

number

The first timestamp at which deposited collateral.

mtime

number

The timestamp when the amount changed.

Vault

NameTypeDescription

address

string

The owner address.

vaultId

number

The vault ID.

vaultType

string

The vault type.

shortVTokens

Array<string>

The short vTokens array.

shortAmounts

Array<string>

The short amounts array.

shortPayouts

Array<string>

The short payouts array (denominated in collateral asset).

longVTokens

Array<string>

The long vTokens array.

longAmounts

Array<string>

The long amounts array.

longPayouts

Array<string>

The long payouts array (denominated in collateral asset).

collateralAssets

Array<string>

The collateral assets array.

collateralAmounts

Array<string>

The collateral amounts array.

marginRequired

Array<string>

The margin required array (denominated in collateral asset).

roe

number

Return on equity (n per thousand).

fee

string

The fee at which the remaining collateral is withdrawn (denominated in collateral asset).

state

number

The vault state.

underlyingAddress

string

The underlying address.

isPut

boolean

The vault is put when true, or the vault is call when false.

liquidatablePrice

number

The price at which the option can be liquidated (denominated in strike asset).

ctime

number

The first timestamp at which mint options.

mtime

number

The timestamp when the amount changed.

VaultPnL

NameTypeDescription

timestamp

number

The updated timestamp.

address

string

The owner address.

vaultId

number

The vault ID.

shortVTokens

Array<string>

The short vTokens array.

shortAmounts

Array<string>

The short amounts array.

shortExpiryPrices

Array<string>

The short expiry prices array (denominated in strike asset).

longVTokens

Array<string>

The long vTokens array.

longAmounts

Array<string>

The long amounts array.

longExpiryPrices

Array<string>

The long expiry prices array (denominated in strike asset).

collateralAssets

Array<string>

The collateral assets array.

collateralAmounts

Array<string>

The collateral amounts array.

marginRequired

Array<string>

The margin required array (denominated in collateral asset).

roe

number

Return on equity (n per thousand).

Log

NameTypeDescription

timestamp

number

The timestamp at which the event is emitted.

blockNumber

number

The block number in which the transaction was recorded.

transactionHash

string

The hash of the transaction which generates the current log.

logIndex

number

The log index in the transaction.

address

string

The owner address.

action

string

The action name.

vTokenAddress

string

The vToken address.

vTokenChange

string

The vToken change.

Last updated