I'm currently use this package to generate new transaction in ETH:
https://github.com/kornrunner/php-ethereum-offline-raw-tx
Now I want to generate a transaction for an ERC20 token like Tether. As I know when we want to create an eth transaction we have to set all of these items :
nonce' => $this->nonce,
'gasPrice' => $this->gasPrice,
'gasLimit' => $this->gasLimit,
'to' => $this->to,
'value' => $this->value,
'data' => $this->data,
'v' => $this->v,
'r' => $this->r,
's' => $this->s,
But I don't have any idea about tokens, are they same as ETH transaction? How and where we defined this transaction is about token and which token?