Variable DelegationResponse
Type declaration
create:function
- create<I>(base?): DelegationResponse
Type Parameters
- I extends {
balance?: {
amount?: string;
denom?: string;
};
delegation?: {
delegatorAddress?: string;
shares?: string;
validatorAddress?: string;
};
} & {
balance?: {
amount?: string;
denom?: string;
} & {
amount?: string;
denom?: string;
} & {
[K in string | number | symbol]: never
};
delegation?: {
delegatorAddress?: string;
shares?: string;
validatorAddress?: string;
} & {
delegatorAddress?: string;
shares?: string;
validatorAddress?: string;
} & {
[K in string | number | symbol]: never
};
} & {
[K in string | number | symbol]: never
}
decode:function
- decode(input, length?): DelegationResponse
Parameters
- input: Uint8Array | Reader
Optional
length: number
encode:function
- encode(message, writer?): Writer
Returns Writer
fromJSON:function
fromPartial:function
- fromPartial<I>(object): DelegationResponse
Type Parameters
- I extends {
balance?: {
amount?: string;
denom?: string;
};
delegation?: {
delegatorAddress?: string;
shares?: string;
validatorAddress?: string;
};
} & {
balance?: {
amount?: string;
denom?: string;
} & {
amount?: string;
denom?: string;
} & {
[K in string | number | symbol]: never
};
delegation?: {
delegatorAddress?: string;
shares?: string;
validatorAddress?: string;
} & {
delegatorAddress?: string;
shares?: string;
validatorAddress?: string;
} & {
[K in string | number | symbol]: never
};
} & {
[K in string | number | symbol]: never
}
toJSON:function
- toJSON(message): unknown
Returns unknown