Variable lendingAssetsSchemaConst
lendingAssetsSchema: {
items: {
properties: {
borrowApy: { description: string; nullable: boolean; type: "number" };
dataStatus: { enum: string[]; type: "string" };
decimals: { nullable: boolean; type: "number" };
extraApy: {
description: string;
properties: {
feesApr: { type: "number" };
nativeApy: { type: "number" };
};
type: "object";
};
hubId: { type: "number" };
hubName: { type: "string" };
indexedAt: { description: string; type: "number" };
indexedLedger: { type: "number" };
logoUrl: { nullable: boolean; type: "string" };
name: { type: "string" };
network: { enum: string[]; type: "string" };
priceStatus: {
properties: {
deviation: { type: "boolean" };
stale: { type: "boolean" };
timestamp: { nullable: boolean; type: "number" };
valid: { type: "boolean" };
};
required: string[];
type: "object";
};
priceUsd: { nullable: boolean; type: "number" };
sac: { type: "string" };
spokes: {
items: {
properties: {
borrowCapacity: {
properties: {
amount: { nullable: boolean; type: "string" };
amountRaw: { nullable: boolean; type: "string" };
usd: { nullable: boolean; type: "number" };
};
required: string[];
type: "object";
};
canBeCollateral: { type: "boolean" };
canBorrow: { type: "boolean" };
canOpenAccount: { description: string; type: "boolean" };
canSupply: { type: "boolean" };
ltvBps: { type: "number" };
spokeId: { type: "number" };
spokeName: { type: "string" };
supplyCapacity: {
properties: {
amount: { nullable: boolean; type: "string" };
amountRaw: { nullable: boolean; type: "string" };
usd: { nullable: boolean; type: "number" };
};
required: string[];
type: "object";
};
};
required: string[];
type: "object";
};
type: "array";
};
supplyApy: { description: string; nullable: boolean; type: "number" };
symbol: { type: "string" };
};
required: string[];
type: "object";
};
type: "array";
} = ...
Type Declaration
items: {
properties: {
borrowApy: { description: string; nullable: boolean; type: "number" };
dataStatus: { enum: string[]; type: "string" };
decimals: { nullable: boolean; type: "number" };
extraApy: {
description: string;
properties: {
feesApr: { type: "number" };
nativeApy: { type: "number" };
};
type: "object";
};
hubId: { type: "number" };
hubName: { type: "string" };
indexedAt: { description: string; type: "number" };
indexedLedger: { type: "number" };
logoUrl: { nullable: boolean; type: "string" };
name: { type: "string" };
network: { enum: string[]; type: "string" };
priceStatus: {
properties: {
deviation: { type: "boolean" };
stale: { type: "boolean" };
timestamp: { nullable: boolean; type: "number" };
valid: { type: "boolean" };
};
required: string[];
type: "object";
};
priceUsd: { nullable: boolean; type: "number" };
sac: { type: "string" };
spokes: {
items: {
properties: {
borrowCapacity: {
properties: {
amount: { nullable: boolean; type: "string" };
amountRaw: { nullable: boolean; type: "string" };
usd: { nullable: boolean; type: "number" };
};
required: string[];
type: "object";
};
canBeCollateral: { type: "boolean" };
canBorrow: { type: "boolean" };
canOpenAccount: { description: string; type: "boolean" };
canSupply: { type: "boolean" };
ltvBps: { type: "number" };
spokeId: { type: "number" };
spokeName: { type: "string" };
supplyCapacity: {
properties: {
amount: { nullable: boolean; type: "string" };
amountRaw: { nullable: boolean; type: "string" };
usd: { nullable: boolean; type: "number" };
};
required: string[];
type: "object";
};
};
required: string[];
type: "object";
};
type: "array";
};
supplyApy: { description: string; nullable: boolean; type: "number" };
symbol: { type: "string" };
};
required: string[];
type: "object";
}
type: "array"
OpenAPI response schema for LendingAsset[]. Capacities are indexed estimates.