Skip to content
Discussion options

You must be logged in to vote
Admin verified this answer by jxom Nov 21, 2025

I would recommend our other library ox for this. Viem uses it under-the-hood.

import { AbiFunction } from 'ox'

const fn = AbiFunction.fromAbi(abi, 'placeOrder')
const string = AbiFunction.format(fn)

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ArielGueta
Comment options

@ArielGueta
Comment options

Answer verified by Admin Nov 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants