Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 830
2 votes
Accepted

Whats the highest number of sol-transfers you can pack into one transaction?

Max tx size is 1232. Transfer takes two accounts: from and to, which are 32 bytes each, plus an amount, which is a number or bigint, so let's call it 8 bytes max. However Solana is smart about packing …
Whiteseal's user avatar
  • 3,597
1 vote

getOrCreateAssociatedTokenAccount() throws TokenAccountNotFoundError

Could be that your callback function is not updating when the wallet changes (e.g. when it connects). More likely you need a payer and you have a pubkey instead. getOrCreateAssociatedTokenAccount expe …
Whiteseal's user avatar
  • 3,597