Pergunta de entrevista da empresa Halborn

How does a transaction in Solana work?