Js call Retool RPC with arguements

Here is an example on how to use additional scope:

On the resource settings, we set the key-value pair.

In this case {{ transactionId }} will take the value we pass using additionalScope

When we trigger the query, we set a key-value pair where the key is the variable 'declared' on the resource settings, and we set the value for it:

1 Like