Variable lendingPositionsSchemaConst
lendingPositionsSchema: {
items: {
properties: {
accountId: { type: "string" };
availableBorrowUsd: {
description: string;
nullable: boolean;
type: "number";
};
borrow: {
items: {
properties: {
amount: { nullable: boolean; type: "string" };
amountRaw: { description: string; nullable: boolean; type: "string" };
apy: { description: string; nullable: boolean; type: "number" };
decimals: { nullable: boolean; type: "number" };
extraApy: {
description: string;
properties: {
feesApr: { type: "number" };
nativeApy: { type: "number" };
};
type: "object";
};
hubId: { type: "number" };
hubName: { type: "string" };
indexedAt: { type: "number" };
indexedLedger: { type: "number" };
indexRay: { nullable: boolean; type: "string" };
logoUrl: { nullable: boolean; type: "string" };
name: { 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" };
symbol: { type: "string" };
valueUsd: { nullable: boolean; type: "number" };
};
required: string[];
type: "object";
};
type: "array";
};
borrowLimitUsd: { nullable: boolean; type: "number" };
dataStatus: { enum: string[]; type: "string" };
hasDebt: { description: string; nullable: boolean; type: "boolean" };
healthFactor: { description: string; nullable: boolean; type: "number" };
netApy: { description: string; nullable: boolean; type: "number" };
network: { enum: string[]; type: "string" };
nftContract: { type: "string" };
nftImage: { description: string; format: string; type: "string" };
spokeId: { nullable: boolean; type: "number" };
spokeName: { nullable: boolean; type: "string" };
supplied: {
items: {
properties: {
amount: { nullable: boolean; type: "string" };
amountRaw: { description: string; nullable: boolean; type: "string" };
apy: { description: string; nullable: boolean; type: "number" };
decimals: { nullable: boolean; type: "number" };
extraApy: {
description: string;
properties: {
feesApr: { type: "number" };
nativeApy: { type: "number" };
};
type: "object";
};
hubId: { type: "number" };
hubName: { type: "string" };
indexedAt: { type: "number" };
indexedLedger: { type: "number" };
indexRay: { nullable: boolean; type: "string" };
logoUrl: { nullable: boolean; type: "string" };
name: { 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" };
symbol: { type: "string" };
valueUsd: { nullable: boolean; type: "number" };
};
required: string[];
type: "object";
};
type: "array";
};
};
required: string[];
type: "object";
};
type: "array";
} = ...
Type Declaration
items: {
properties: {
accountId: { type: "string" };
availableBorrowUsd: {
description: string;
nullable: boolean;
type: "number";
};
borrow: {
items: {
properties: {
amount: { nullable: boolean; type: "string" };
amountRaw: { description: string; nullable: boolean; type: "string" };
apy: { description: string; nullable: boolean; type: "number" };
decimals: { nullable: boolean; type: "number" };
extraApy: {
description: string;
properties: {
feesApr: { type: "number" };
nativeApy: { type: "number" };
};
type: "object";
};
hubId: { type: "number" };
hubName: { type: "string" };
indexedAt: { type: "number" };
indexedLedger: { type: "number" };
indexRay: { nullable: boolean; type: "string" };
logoUrl: { nullable: boolean; type: "string" };
name: { 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" };
symbol: { type: "string" };
valueUsd: { nullable: boolean; type: "number" };
};
required: string[];
type: "object";
};
type: "array";
};
borrowLimitUsd: { nullable: boolean; type: "number" };
dataStatus: { enum: string[]; type: "string" };
hasDebt: { description: string; nullable: boolean; type: "boolean" };
healthFactor: { description: string; nullable: boolean; type: "number" };
netApy: { description: string; nullable: boolean; type: "number" };
network: { enum: string[]; type: "string" };
nftContract: { type: "string" };
nftImage: { description: string; format: string; type: "string" };
spokeId: { nullable: boolean; type: "number" };
spokeName: { nullable: boolean; type: "string" };
supplied: {
items: {
properties: {
amount: { nullable: boolean; type: "string" };
amountRaw: { description: string; nullable: boolean; type: "string" };
apy: { description: string; nullable: boolean; type: "number" };
decimals: { nullable: boolean; type: "number" };
extraApy: {
description: string;
properties: {
feesApr: { type: "number" };
nativeApy: { type: "number" };
};
type: "object";
};
hubId: { type: "number" };
hubName: { type: "string" };
indexedAt: { type: "number" };
indexedLedger: { type: "number" };
indexRay: { nullable: boolean; type: "string" };
logoUrl: { nullable: boolean; type: "string" };
name: { 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" };
symbol: { type: "string" };
valueUsd: { nullable: boolean; type: "number" };
};
required: string[];
type: "object";
};
type: "array";
};
};
required: string[];
type: "object";
}
type: "array"
OpenAPI response schema for LendingPosition[]. Nullable data remains explicit; underlying yield is optional.