Skip to content

Commit

Permalink
updated solana-plugin readme
Browse files Browse the repository at this point in the history
  • Loading branch information
sunsakis committed Jan 17, 2025
1 parent 86e2254 commit 5fe1d4f
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion packages/plugin-solana/README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -141,13 +141,25 @@ Transfers tokens between wallets.

```typescript
// Example usage
const result = await runtime.executeAction("TRANSFER_TOKEN", {
const result = await runtime.executeAction("SEND_TOKEN", {
tokenAddress: "TokenAddressHere",
recipient: "RecipientAddressHere",
amount: "1000",
});
```

### transferSol

Transfers SOL between wallets.

```typescript
// Example usage
const result = await runtime.executeAction("SEND_SOL", {
recipient: "RecipientAddressHere",
amount: "1000",
});
```

### takeOrder

Places a buy order based on conviction level.
Expand Down

0 comments on commit 5fe1d4f

Please sign in to comment.