Hooks

Hooks are a powerful feature of the XRPL network, providing robust smart contract functionality. They are small, efficient WebAssembly modules designed specifically for the XRPL, and can be referred to as Smart Contracts for the XRP Ledger Protocol. Hooks can be written in any language that is compilable with WebAssembly, allowing for a wide range of business logic and smart contract concepts to be implemented.

Transaction Types

The Hooks feature includes two types of transactions:

SetHook

This transaction type is used to set up a hook on an account.

SetHook

Invoke

This transaction type is used to call or invoke the functionality of a hook.

Invoke

Last updated