Skip to content

Commit 5fe1d4f

Browse files
committed
updated solana-plugin readme
1 parent 86e2254 commit 5fe1d4f

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

packages/plugin-solana/README.MD

+13-1
Original file line numberDiff line numberDiff line change
@@ -141,13 +141,25 @@ Transfers tokens between wallets.
141141

142142
```typescript
143143
// Example usage
144-
const result = await runtime.executeAction("TRANSFER_TOKEN", {
144+
const result = await runtime.executeAction("SEND_TOKEN", {
145145
tokenAddress: "TokenAddressHere",
146146
recipient: "RecipientAddressHere",
147147
amount: "1000",
148148
});
149149
```
150150

151+
### transferSol
152+
153+
Transfers SOL between wallets.
154+
155+
```typescript
156+
// Example usage
157+
const result = await runtime.executeAction("SEND_SOL", {
158+
recipient: "RecipientAddressHere",
159+
amount: "1000",
160+
});
161+
```
162+
151163
### takeOrder
152164

153165
Places a buy order based on conviction level.

0 commit comments

Comments
 (0)