Entity: { create( base?: { data?: { fields?: { [key: string]: | undefined | { bigdecimalValue?: { exp?: ...
; value?: ...
}; bigintValue?: { data?: ...
; negative?: ...
}; boolValue?: boolean; bytesValue?: Uint8Array<(...)
>; floatValue?: number; int64Value?: bigint; intValue?: number; listValue?: { values?: ...
}; nullValue?: RichValue_NullValue; stringValue?: string; structValue?: { fields?: { [x: string]: { nullValue?: RichValue_NullValue | undefined; intValue?: number | undefined; int64Value?: bigint | undefined; floatValue?: number | undefined; ... 8 more ...; tokenValue?: { ...; } | undefined; } | undefined; } | undefined; } | undefined
; timestampValue?: Date; tokenValue?: { amount?: ...
; specifiedAt?: ...
; token?: ...
}; }; }; }; entity?: string; genBlockChain?: string; genBlockNumber?: bigint; genBlockTime?: Date; }, ): Entity; decode( input: Uint8Array<ArrayBufferLike> | Reader, length?: number, ): Entity; encode(message: Entity, writer?: Writer): Writer; fromJSON(object: any): Entity; fromPartial( object: { data?: { fields?: { [key: string]: | undefined | { bigdecimalValue?: { exp?: (...)
| (...)
; value?: (...)
| (...)
}; bigintValue?: { data?: (...)
| (...)
; negative?: (...)
| (...)
| (...)
; }; boolValue?: boolean; bytesValue?: Uint8Array<ArrayBufferLike>; floatValue?: number; int64Value?: bigint; intValue?: number; listValue?: { values?: (...)
| (...)
}; nullValue?: RichValue_NullValue; stringValue?: string; structValue?: { fields?: { [x: string]: { nullValue?: RichValue_NullValue | undefined; intValue?: number | undefined; int64Value?: bigint | undefined; floatValue?: number | undefined; ... 8 more ...; tokenValue?: { ...; } | undefined; } | undefined; } | undefined; } | undefined
; timestampValue?: Date; tokenValue?: { amount?: (...)
| (...)
; specifiedAt?: (...)
| (...)
; token?: (...)
| (...)
; }; }; }; }; entity?: string; genBlockChain?: string; genBlockNumber?: bigint; genBlockTime?: Date; }, ): Entity; toJSON(message: Entity): unknown;} Type Declaration
create: function
create( base?: { data?: { fields?: { [key: string]: | undefined | { bigdecimalValue?: { exp?: ...
; value?: ...
}; bigintValue?: { data?: ...
; negative?: ...
}; boolValue?: boolean; bytesValue?: Uint8Array<(...)
>; floatValue?: number; int64Value?: bigint; intValue?: number; listValue?: { values?: ...
}; nullValue?: RichValue_NullValue; stringValue?: string; structValue?: { fields?: { [x: string]: { nullValue?: RichValue_NullValue | undefined; intValue?: number | undefined; int64Value?: bigint | undefined; floatValue?: number | undefined; ... 8 more ...; tokenValue?: { ...; } | undefined; } | undefined; } | undefined; } | undefined
; timestampValue?: Date; tokenValue?: { amount?: ...
; specifiedAt?: ...
; token?: ...
}; }; }; }; entity?: string; genBlockChain?: string; genBlockNumber?: bigint; genBlockTime?: Date; },): Entity Parameters
Optionalbase: {
data?: {
fields?: {
[key: string]:
| undefined
| {
bigdecimalValue?: { exp?: ...; value?: ... };
bigintValue?: { data?: ...; negative?: ... };
boolValue?: boolean;
bytesValue?: Uint8Array<(...)>;
floatValue?: number;
int64Value?: bigint;
intValue?: number;
listValue?: { values?: ... };
nullValue?: RichValue_NullValue;
stringValue?: string;
structValue?: { fields?: { [x: string]: { nullValue?: RichValue_NullValue | undefined; intValue?: number | undefined; int64Value?: bigint | undefined; floatValue?: number | undefined; ... 8 more ...; tokenValue?: { ...; } | undefined; } | undefined; } | undefined; } | undefined;
timestampValue?: Date;
tokenValue?: { amount?: ...; specifiedAt?: ...; token?: ... };
};
};
};
entity?: string;
genBlockChain?: string;
genBlockNumber?: bigint;
genBlockTime?: Date;
}
decode: function
decode(input: Uint8Array<ArrayBufferLike> | Reader, length?: number): Entity Parameters
- input: Uint8Array<ArrayBufferLike> | Reader
Optionallength: number
encode: function
encode(message: Entity, writer?: Writer): Writer Parameters
- message: Entity
Optionalwriter: Writer
Returns Writer
fromJSON: function
fromPartial: function
fromPartial( object: { data?: { fields?: { [key: string]: | undefined | { bigdecimalValue?: { exp?: (...)
| (...)
; value?: (...)
| (...)
}; bigintValue?: { data?: (...)
| (...)
; negative?: (...)
| (...)
| (...)
; }; boolValue?: boolean; bytesValue?: Uint8Array<ArrayBufferLike>; floatValue?: number; int64Value?: bigint; intValue?: number; listValue?: { values?: (...)
| (...)
}; nullValue?: RichValue_NullValue; stringValue?: string; structValue?: { fields?: { [x: string]: { nullValue?: RichValue_NullValue | undefined; intValue?: number | undefined; int64Value?: bigint | undefined; floatValue?: number | undefined; ... 8 more ...; tokenValue?: { ...; } | undefined; } | undefined; } | undefined; } | undefined
; timestampValue?: Date; tokenValue?: { amount?: (...)
| (...)
; specifiedAt?: (...)
| (...)
; token?: (...)
| (...)
; }; }; }; }; entity?: string; genBlockChain?: string; genBlockNumber?: bigint; genBlockTime?: Date; },): Entity Parameters
- object: {
data?: {
fields?: {
[key: string]:
| undefined
| {
bigdecimalValue?: { exp?: (...)
| (...); value?: (...) | (...) };
bigintValue?: {
data?: (...) | (...);
negative?: (...) | (...) | (...);
};
boolValue?: boolean;
bytesValue?: Uint8Array<ArrayBufferLike>;
floatValue?: number;
int64Value?: bigint;
intValue?: number;
listValue?: { values?: (...) | (...) };
nullValue?: RichValue_NullValue;
stringValue?: string;
structValue?: { fields?: { [x: string]: { nullValue?: RichValue_NullValue | undefined; intValue?: number | undefined; int64Value?: bigint | undefined; floatValue?: number | undefined; ... 8 more ...; tokenValue?: { ...; } | undefined; } | undefined; } | undefined; } | undefined;
timestampValue?: Date;
tokenValue?: {
amount?: (...) | (...);
specifiedAt?: (...) | (...);
token?: (...) | (...);
};
};
};
};
entity?: string;
genBlockChain?: string;
genBlockNumber?: bigint;
genBlockTime?: Date;
}
toJSON: function
toJSON(message: Entity): unknown Returns unknown