Open yenkhoon opened 1 month ago
okx wallet failed to estimate gas. Below is the example code:
let transaction: InputTransactionData = { data: { function: "0x1::code::publish_package_txn", typeArguments: [], functionArguments: [hexToByteArray(metadataBytes), [hexToByteArray(byteCode)]], }, options: { gasUnitPrice: processedGasUnitPrice } }; const pendingTransaction = await signAndSubmitTransaction(transaction);
it that possible that okxwallet cant estimate gas for typeArguments is empty array? for other transaction like transfer is fine.
As with this issue, suggesting to close
okx wallet failed to estimate gas. Below is the example code:
it that possible that okxwallet cant estimate gas for typeArguments is empty array? for other transaction like transfer is fine.