Skip to content

Commit 8413700

Browse files
docs: clarify spl token account creation handling for exchange integrations (solana-labs#23288)
(cherry picked from commit 09d064c) Co-authored-by: Trent Nelson <[email protected]>
1 parent 215c708 commit 8413700

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/src/integrations/exchange.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -721,6 +721,10 @@ must then be used to determine the effective balance change. These fields will
721721
identify the token mint and account owner (main wallet address) of the affected
722722
account.
723723

724+
Note that if a receiving account is created during the transaction, it will have no
725+
`preTokenBalance` entry as there is no data to decode the state from. In this
726+
case, the initial balance can be assumed to be zero.
727+
724728
### Withdrawing
725729

726730
The withdrawal address a user provides must be the that of their SOL wallet.

0 commit comments

Comments
 (0)