Expand description

Ark low-level FFI API

This is the low-level mostly unsafe layer that defines the ABI between the Ark host and Wasm modules. It is not intended to be used directly, instead users should use the safe and easier to use ark-api crate in modules.

Also see 🗺️ APIs in Ark Developer Guide

Modules

Structs

A thin wrapper around i128 that ensures 16-byte alignment.

A thin wrapper around u128 that ensures 16-byte alignment.

API identifier containing unique id and name

Invalid value stored in PodBool when trying to interpret it as a bool

A version of bool that has the same layout as bool but is bytemuck::Pod.

This type adds some const PAD number of “explicit” or “manual” padding bytes to the end of a struct.

Enums

Error return codes for API functions.

Type Definitions

A result from an FFI function.