Closed athlona64 closed 2 years ago
i found the solution if non specify nonce parameter above issue will be happen must specify nonce parameter manual.
final transaction = await client.sendTransaction(
credentials,
Transaction.callContract(
from: ownAddress,
contract: contract,
function: transfer,
maxGas: gasClaim,
nonce: nonce,
gasPrice: EtherAmount.inWei(BigInt.from(10 * 1e9)),
parameters: [receiver, amount.getInWei],
),
chainId: chainId,
);