Get all delegations
GET
https://www.allnodes.com/api/v1/staking
This endpoint allows to get list of all your delegations.
[
{
id: number;
name: string;
currencySymbol: string;
createdAt: string;
apr: string | null;
payoutFrequencySeconds: number | null;
address: {
ownerAddress?: string;
stakingAddress?: string;
lastRewardAt: string | null;
};
delegations: [{
validatorId: string;
validatorName: string;
delegationAmount: number;
rewardAmount: number;
}];
undelegations: [{
validatorId: string;
validatorName: string;
amount: number;
}];
settings: {
wallet: string;
};
}
]
Get a delegation
GET
https://www.allnodes.com/api/v1/staking/{id}
This endpoint allows to get info about specific delegation on your account.
Path Parameters
{
id: number;
name: string;
currencySymbol: string;
createdAt: string;
apr: string | null;
payoutFrequencySeconds: number | null;
address: {
ownerAddress?: string;
stakingAddress?: string;
lastRewardAt: string | null;
};
delegations: [{
validatorId: string;
validatorName: string;
delegationAmount: number;
rewardAmount: number;
}];
undelegations: [{
validatorId: string;
validatorName: string;
amount: number;
}];
settings: {
wallet: string;
};
}