K pfp
K
@kijijij
I have deployed smart contract which buys token using 0x Settler. I am seeing an error ```shortMessage: 'contract runner does not support calling'``` Here is the process * call 0x API and get quote for swapping ETH for TokenA * response has `transaction.data` which is passed to below 'swapCallData' . Pass Settler address and TokenA address you will see error ```shortMessage: 'contract runner does not support calling'``` @matchaxyz do you have updated docs ? https://bitbucket.org/blockx20/workspace/snippets/k7b6na
5 replies
0 recast
4 reactions

jon pfp
jon
@jonbray.eth
that error usually means that your contract runner doesn't support sending transactions (ie. you're not using a signer) are you getting the error when interfacing using ethers.js or similar library?
1 reply
0 recast
0 reaction

jon pfp
jon
@jonbray.eth
when you pass `swapCallData` to `swapTarget` (0x settler) the low-level call is executed with the runner in charge of the contract interaction, which will fail if it doesn't have a valid signer trying to do it with just a provider or voidSigner will pop that error
0 reply
0 recast
0 reaction