Actions can be chained together in successive series up to a depth of n. Each action can provide a callback url to fetch the next action in the series (being provided the signature from the previous action`) which can then be presented to users via action aware clients.
Action chaining allows developer to build more complex and dynamic experiences within blinks, including:
providing multiple transactions (and eventually sign message) to a user
customized action metadata based on the user's wallet address
refreshing the blink metadata after a successful transaction
receive an API callback with the transaction signature for additional
validation and logic on the Action API server
Rationale
Blinks and actions are currently limited to a single depth of interaction. After the user signs a transaction, it concludes the experience. Action chaining allows developers to provide a depth of n actions, creating more dynamic and comprehensive experiences.
TLDR
Actions can be chained together in successive series up to a depth of
n
. Each action can provide a callback url to fetch the next action in the series (being provided thesignature
from the previous action`) which can then be presented to users via action aware clients.Action chaining allows developer to build more complex and dynamic experiences within blinks, including:
Rationale
Blinks and actions are currently limited to a single depth of interaction. After the user signs a transaction, it concludes the experience. Action chaining allows developers to provide a depth of
n
actions, creating more dynamic and comprehensive experiences.sRFC: https://forum.solana.com/t/srfc-28-blinks-chaining/1734