> For the complete documentation index, see [llms.txt](https://liquiidio.gitbook.io/unity-plugin-suite/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://liquiidio.gitbook.io/unity-plugin-suite/wcwunity/examples/buy-ram.md).

# Buy Ram

1. The following example shows how a buy Ram Action can be created and passed to the Sign-Method of [the previously](https://liquiidio.gitbook.io/unity-plugin-suite/v/wcwunity/examples/example_a) initialized CloudWalletPlugin-Object.

```csharp
// buy ram using a session
async Task BuyRam(string amountToBuy, string receiverAccount  )
{
    //Create an action object
    var action = new EosSharp.Core.Api.v1.Action()
    {
      account = "eosio",
      name = "buyram",
      authorization = new List<PermissionLevel>() { _session.Auth },
      data = new Dictionary<string, object>
      {
              { "payer", "............1" },
              { "quant", amountToBuyTex },
              { "receiver", receiverAccount }
      }
    };
		
    // Sign with the action created
    _cloudWalletPlugin.Sign(new[] { action });
}
```
