Skip to content

Latest commit

 

History

History
25 lines (22 loc) · 3.39 KB

DEVELOPERS.md

File metadata and controls

25 lines (22 loc) · 3.39 KB

Amino types and how they're represented in JSON

Amino JSON Note Source
string string tendermint/go-amino
bool boolean tendermint/go-amino
int string tendermint/go-amino
int64 string tendermint/go-amino
uint string tendermint/go-amino
uint64 string tendermint/go-amino
int8 number tendermint/go-amino
int16 number tendermint/go-amino
int32 number tendermint/go-amino
uint8 number tendermint/go-amino
uint16 number tendermint/go-amino
uint32 number tendermint/go-amino
Dec string Must have 18 digits after the decimal point
Int string
Timestamp string RFC 3339 tendermint/go-amino
Duration string Duration is int64 https://pkg.go.dev/time?utm_source=gopls#Duration

See examples in: