diff --git a/src/logic/contractInteraction/sources/ABIService/index.ts b/src/logic/contractInteraction/sources/ABIService/index.ts index c9dc15b7..9e8fdd00 100644 --- a/src/logic/contractInteraction/sources/ABIService/index.ts +++ b/src/logic/contractInteraction/sources/ABIService/index.ts @@ -64,5 +64,5 @@ export const extractUsefulMethods = (abi: AbiItem[]): AbiItemExtended[] => { } export const isPayable = (method: AbiItem | AbiItemExtended): boolean => { - return !!method?.payable + return Boolean(method?.payable) || method.stateMutability === 'payable' }