code: func (tx *Transaction) Cost() *big.Int {
  	total := new(big.Int).Mul(tx.data.Price, new(big.Int).SetUint64(tx.data.GasLimit))
  	total.Add(total, tx.data.Amount)
  	return total
  }
docs: // Cost returns amount + gasprice * gaslimit.