Skip to main content

Module blob

Module blob 

Source

Structs§

Blob
A variable-length binary data container with a fixed maximum size.

Constants§

CONDITION_BLOB_SIZE
The maximum number of bytes in a Condition. Xrpld currently caps this value at 128 bytes (see maxSerializedCondition in xrpld source code), so we do the same here.
DEFAULT_BLOB_SIZE
Default blob size for general use (memos, etc.)
DOMAIN_BLOB_SIZE
EMPTY_BLOB
Empty blob constant.
FULFILLMENT_BLOB_SIZE
The maximum number of bytes in a Fulfillment. Theoretically, the crypto-condition format allows for much larger fulfillments, but xrpld currently caps this value at 256 bytes (see maxSerializedFulfillment in xrpld source code), so we do the same here.
PUBLIC_KEY_BLOB_SIZE
The number of bytes in a Public key. In XRPL, ed25519 public keys are prefixed with a one-byte prefix (i.e., 0xED) to be consistent with secp256k1 public keys, which always have 33 bytes.
SIGNATURE_BLOB_SIZE
Maximum size of a signature in bytes.
URI_BLOB_SIZE
Maximum size of a URI in bytes (applies to DIDs, Oracles, Credentials, NFTs, etc.)
WASM_BLOB_SIZE
Buffer size for WASM bytecode (Bytecode field) Set to 4KB to match the maximum allocation limit enforced by the host

Type Aliases§

ConditionBlob
Type alias for 128-byte blob (for Condition fields)
EmptyBlob
FulfillmentBlob
Type alias for 256-byte blob (for Fulfillment fields)
PublicKeyBlob
Type alias for 33-byte blob (for Public Key fields)
SignatureBlob
Type alias for 72-byte blob (for Signature fields).
StandardBlob
Type alias for the standard 1024-byte blob.
UriBlob
Type alias for 256-byte blob (applies to DIDs, Oracles, Credentials, NFTs, etc.)
WasmBlob
Type alias for 4KB blob (for WASM bytecode)