Skip to content
GitHub

Assets

An asset represents an item of value that can be transferred via the Interledger Protocol. Assets in Rafiki are added through the Backend Admin API or the Rafiki Admin application.

Permissions

  • Operators can create assets for any tenant
  • Operators can view any asset
  • Operators can edit and delete assets that belong to any tenant
  • Tenants can only view their own assets
  • Tenants can only edit and delete their own assets
  • Tenants cannot create assets
mutation CreateAsset($input: CreateAssetInput!) {
createAsset(input: $input) {
code
success
message
asset {
id
code
scale
tenantId
}
}
}