Node: { create(base?): Node; decode(input,
length?): Node; encode(message,
writer?): Writer; fromJSON(object): Node; fromPartial(object): Node; toJSON(message): unknown; } Type declaration
create:function
- create(base?): Node
Parameters
Optional
base: {
address?: string;
gigabytePrices?: {
amount?: string;
denom?: string;
}[];
hourlyPrices?: {
amount?: string;
denom?: string;
}[];
inactiveAt?: Date;
remoteUrl?: string;
status?: Status;
statusAt?: Date;
}
Optional
address?: string
Optional
gigabytePrices?: {
amount?: string;
denom?: string;
}[]
Optional
hourlyPrices?: {
amount?: string;
denom?: string;
}[]
Optional
inactiveAt?: Date
Optional
remoteUrl?: string
Optional
status?: Status
Optional
statusAt?: Date
decode:function
- decode(input, length?): Node
Parameters
input: Uint8Array | Reader
Optional
length: number
encode:function
- encode(message, writer?): Writer
Parameters
message: Node
writer: Writer = ...
Returns Writer
fromJSON:function
fromPartial:function
- fromPartial(object): Node
Parameters
object: {
address?: string;
gigabytePrices?: {
amount?: string;
denom?: string;
}[];
hourlyPrices?: {
amount?: string;
denom?: string;
}[];
inactiveAt?: Date;
remoteUrl?: string;
status?: Status;
statusAt?: Date;
}
Optional
address?: string
Optional
gigabytePrices?: {
amount?: string;
denom?: string;
}[]
Optional
hourlyPrices?: {
amount?: string;
denom?: string;
}[]
Optional
inactiveAt?: Date
Optional
remoteUrl?: string
Optional
status?: Status
Optional
statusAt?: Date
toJSON:function
- toJSON(message): unknown
Returns unknown