Electric vehicles (EVs) have gained prominence in smart transportation due to their unparalleled benefits of reduced carbon footprints, improved performance, and intelligent energy trading mechanisms. These potential benefits have increased EV adoption at massive scales, but energy management in EVs is a critical study problem. The problem is further intensified due to the scarcity of charging stations (CSs) in near EV proximity. Moreover, as energy transactions occur over open channels, it presents critical security, privacy, and trust issues among decentralized channels. To address the open limitations of trusted energy management and optimize the pricing control among EV entities (i.e., prosumers and consumers), the paper proposes a scheme that integrates blockchain and a truthful double auction strategy for trustful EV trading. To address the transaction scalability, we integrate an Interplanetary File System (IPFS) with a double auction mechanism handled through the Remix Smart Contract environment. The double auction leverages an optimal payoff condition between peer EVs. To address the communication latency, we present the scheme at the backdrop of Fifth Generation (5G) networks that minimizes the optimal payoff response time. The scheme is simulated against parameters such as convergence, profit for consumers, computation time, and blockchain analysis regarding node commit latency, collusion attacks, and EV energy consumption. The results indicate the scheme’s viability against traditional (non-blockchain) approaches with high reliability, scalability, and improved cost-efficiency.