Skip to content

ox@0.9.5

Choose a tag to compare

@github-actions github-actions released this 05 Sep 00:07
· 466 commits to main since this release
095ab97

Patch Changes

  • #113 e21cb3c Thanks @jxom! - Added support for specifying the ABI and signature name to:

    • AbiFunction.{encodeData,encodeResult,decodeData,decodeResult}
    • AbiError.{encode,decode}
    • AbiEvent.{encode,decode}

    Example:

    import { AbiFunction } from "ox";
    import { abi } from "./abi";
    
    const data = AbiFunction.encodeData(abi, "approve", [
      "0x0000000000000000000000000000000000000000",
      1n,
    ]);