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