Type Alias: StakeObject
type StakeObject =
| {
principal: string;
stakeActiveEpoch: string;
stakeRequestEpoch: string;
stakedIotaId: string;
status: "Pending";
}
| {
principal: string;
stakeActiveEpoch: string;
stakeRequestEpoch: string;
stakedIotaId: string;
estimatedReward: string;
status: "Active";
}
| {
principal: string;
stakeActiveEpoch: string;
stakeRequestEpoch: string;
stakedIotaId: string;
status: "Unstaked";
};
Type Declaration
{
principal: string;
stakeActiveEpoch: string;
stakeRequestEpoch: string;
stakedIotaId: string;
status: "Pending";
}
| Name | Type | Description |
|---|---|---|
principal | string | - |
stakeActiveEpoch | string | - |
stakeRequestEpoch | string | - |
stakedIotaId | string | ID of the StakedIota receipt object. |
status | "Pending" | - |
{
principal: string;
stakeActiveEpoch: string;
stakeRequestEpoch: string;
stakedIotaId: string;
estimatedReward: string;
status: "Active";
}
| Name | Type | Description |
|---|---|---|
principal | string | - |
stakeActiveEpoch | string | - |
stakeRequestEpoch | string | - |
stakedIotaId | string | ID of the StakedIota receipt object. |
estimatedReward | string | - |
status | "Active" | - |
{
principal: string;
stakeActiveEpoch: string;
stakeRequestEpoch: string;
stakedIotaId: string;
status: "Unstaked";
}
| Name | Type | Description |
|---|---|---|
principal | string | - |
stakeActiveEpoch | string | - |
stakeRequestEpoch | string | - |
stakedIotaId | string | ID of the StakedIota receipt object. |
status | "Unstaked" | - |