ValueSet
Last updated
Was this helpful?
Last updated
Was this helpful?
Values for flow inputs and outputs are stored as JSONB in the database.
Values are always JSON objects with exactly 1 key. The key describes that value’s data type.
Schema:
There are many types of numbers. All numbers are encoded as JSON string to avoid losing precision when reading in JavaScript.
Unsigned 64-bit integer.
Signed 64-bit integer.
Unsigned 128-bit integer.
Signed 128-bit integer.
64-bit floating-point value. Support writing with scientific notation (e.g. 1e10).
Binary values containing 32 or 64 bytes are encoded as base-58 string, because they are usually Solana’s pubkey or keypair. Other lengths are encoded with base-64.
A binary sequence, exactly 32-bytes long. Encoded as a base-58 string.
A binary sequence, exactly 64-bytes long. Encoded as a base-58 string.
Binary values with other length are encoded as base-64 strings.
Array contains zero or more elements, each element is another value.
e.g. an array contains an integer 10 and a string "Hello":
A Decimal in library.