Closed alan-1993 closed 2 years ago
$token = new \Lessmore92\Ethereum\Token($contractAddress, "https://mainnet.infura.io/v3/id"); try { $transfer_tx = $token->transferFrom($contractAddress, $from, $to, '0.0001', 'default', '700000'); dump($transfer_tx); $transfer_tx_id = $transfer_tx->sign($privateKey)->send(); var_dump($transfer_tx_id); }catch (Exception $exception) { var_dump($exception->getMessage()); }
The above code gets the HASH of the transaction, 0x278610b300c70d6a61283d08020618cf24abe1fbc3e8f1ff56eb88c58bf739e6 Is this a successful transaction? But the HASH of the transaction cannot query the data on the website https://eth.tokenview.com/cn/tx/0x278610b300c70d6a61283d08020618cf24abe1fbc3e8f1ff56eb88c58bf739e6 Is this something I'm using wrong here?
$token = new \Lessmore92\Ethereum\Token($contractAddress, "https://mainnet.infura.io/v3/id"); try { $transfer_tx = $token->transferFrom($contractAddress, $from, $to, '0.0001', 'default', '700000'); dump($transfer_tx); $transfer_tx_id = $transfer_tx->sign($privateKey)->send(); var_dump($transfer_tx_id); }catch (Exception $exception) { var_dump($exception->getMessage()); }
The above code gets the HASH of the transaction, 0x278610b300c70d6a61283d08020618cf24abe1fbc3e8f1ff56eb88c58bf739e6 Is this a successful transaction? But the HASH of the transaction cannot query the data on the website https://eth.tokenview.com/cn/tx/0x278610b300c70d6a61283d08020618cf24abe1fbc3e8f1ff56eb88c58bf739e6 Is this something I'm using wrong here?