An action potential involves the transfer SODIUM and POTASSIUM ions across an axon's membrane.
During depolarization, when the ion channels open, they allow the influx of sodium ions into the cell, thus changing the electro-chemical gradient of the cell, in order to counter balance this, potassium ions will be allowed to flow out of the cell.