Quota: { create(base?): Quota; decode(input,
length?): Quota; encode(message,
writer?): Writer; fromJSON(object): Quota; fromPartial(object): Quota; toJSON(message): unknown; } Type declaration
create:function
- create(base?): Quota
Parameters
Optional
base: {
address?: string;
allocated?: string;
consumed?: string;
}
Optional
address?: string
Optional
allocated?: string
Optional
consumed?: string
decode:function
- decode(input, length?): Quota
Parameters
input: Uint8Array | Reader
Optional
length: number
encode:function
- encode(message, writer?): Writer
Returns Writer
fromJSON:function
fromPartial:function
- fromPartial(object): Quota
Parameters
object: {
address?: string;
allocated?: string;
consumed?: string;
}
Optional
address?: string
Optional
allocated?: string
Optional
consumed?: string
toJSON:function
- toJSON(message): unknown
Returns unknown