Docs samples for Python SDK 4.0
New features
- The Python samples on the SDK, Deploy your first Fusion vault, Fusion for agents, Common errors and Addresses pages use the ipor-fusion 4.0 API. They do not run on 3.x.
- The SDK page covers the address registry, calldata decoding,
preflight_executebefore signing, AccessManager timelocks withread_call_planand market limits asWadfractions. The CLI examples addfusion vault preflight,fusion vault validateandfusion address. - The factory table on the Addresses page follows the SDK 4.0 deploy guide. It lists Flare, Monad, HyperEVM and Robinhood and has a column showing on which chains the SDK vault tooling runs.
- The revert table on Common errors adds
HandlerNotFound()and shows how to check a missing role withAccessManager.can_call. - A new file, /docs/llms-fusion.txt, holds the full text of the nine docs pages a vault builder needs, in the order of the deploy path. It is 62 KB, against 684 KB for
/docs/llms-full.txt, for AI agents that load a single file. - The SDK and Fusion for agents pages state that the cross-chain and HyperCore contracts are production. Their SDK API is still in preview and may change between minor versions.