Skip to content

Latest commit

 

History

History
58 lines (30 loc) · 906 Bytes

Types.md

File metadata and controls

58 lines (30 loc) · 906 Bytes

Types

The raw types or JavaScript native types that Arkreen Network used define here.

Address

An Ethereum compatible account address, essentially a string, its size is fixed 42, for example:

"0x210a54d141a60ba77ae023db2281413ee96ff76f"

AsnSignature

A PKCS9 schema secp256k1 ECDSA signature encoded by base58 algorithm, for example:

"29RwAaxawwqmegHq9XqaJwMT9TUNQz2X3pT69nQAN7va9Wwah6552fEJV7wbwUm2Cd5pu8XhTAvqDPDwDTdgSM11D"

Number

Can be used to represent any number, for example:

200

HexString

HexString is used to represent a binary data, prefix with "0x", its length can be odd, for example:

"0x1234567890abcde"

Array

A JavaScript Array, for example:

[
    "abc-1234567890",
    "def-0987654321"
]