NFT & Wallet API
Mint, transfer, and query NFTs across Ethereum, Solana, EOS.IO, and other configured chains. OASIS abstracts the chain-specific calls behind a uniform API.
Mint NFT
POST/nft/mint
| Field | Type | Description |
|---|---|---|
mintedByAvatarIdrequired | guid | Avatar minting the NFT |
titlerequired | string | NFT display name |
description | string | NFT description |
imageUrl | string | URL or IPFS CID for the NFT image |
metaData | object | Arbitrary key-value metadata stored on-chain |
price | number | Initial listing price (in chain's native token) |
providerType | string | Chain provider — e.g. EthereumOASIS, SolanaOASIS |
onChainProviderType | string | EVM contract type override |
Transfer NFT
POST/nft/transfer
| Field | Type | Description |
|---|---|---|
nftIdrequired | guid | OASIS NFT identifier |
fromAvatarIdrequired | guid | Current owner |
toAvatarIdrequired | guid | Recipient avatar |
providerType | string | Chain provider to execute on |
Get NFTs for Avatar
GET/nft/GetNFTsForAvatar/{avatarId}
Returns all NFTs owned by the given avatar, across all chains. Optionally filter with ?providerType=EthereumOASIS.
Get NFT
GET/nft/{id}
Fetch a single NFT by its OASIS ID, including full metadata and ownership history.
Wallet
GET/wallet/GetBalanceForAvatar/{avatarId}
Returns token balances across all chains the avatar has interacted with.
GET/wallet/GetBalanceForAvatar/{avatarId}/{providerType}
Returns balance for a specific chain/provider.
GET/wallet/GetTransactionsForAvatar/{avatarId}
Full transaction history for the avatar's wallet, newest first.
Chain-specific configuration required
NFT minting and wallet operations require the relevant chain provider to be registered and configured in your ONODE. See Ethereum / EVM or the relevant provider guide before calling these endpoints.