Unreal Engine
Each of the following functions has
2 pins: OnResponseOuput and OnFailure
2 output values: Response and StatusCode
Fetch NFTs
Fetch requested NFTs
How it looks like:
static UGetRequestedNFTs* GetRequestedNFTs(
TArray<FString> metaverseFilter,
TArray<FString> typeFilter,
TArray<FString> subtypeFilter,
int32 cursor = 0,
int32 amount = 100,
int32 chainId = 5
)metaverseFilter: TArray<FString>- Using for metaverse filter. Currently possible values are:decentranland,sandbox,somnium_space,cryptovoxels, fabwelt. Use empty array to get items from all metaverses.typeFilter: TArray<FString>- Using for asset type filter. Currently possible values are:AVATAR,WEARABLE,MISC. Use empty array to get items of all types.subtypeFilter: TArray<FString>- Using for asset subtype filter. Use empty array to get items of all types.cursor: int32- Start index ofgetStakesprotocol`s function (as it uses pagination).amount: int32- Number of viewed indexes ofgetStakesprotocol`s function (as it uses pagination).chainId: int32- Chain Id to be able to use it cross-chain.
Return value:
If succeded:
If failed:
Fetch Owned Derivatives
How it looks like:
metaverseFilter: TArray<FString>- Using for metaverse filter. Currently possible values are:decentranland,sandbox,somnium_space,cryptovoxels, fabwelt. Use empty array to get items from all metaverses.typeFilter: TArray<FString>- Using for asset type filter. Currently possible values are:AVATAR,WEARABLE,MISC. Use empty array to get items of all types.subtypeFilter: TArray<FString>- Using for asset subtype filter. Use empty array to get items of all types.userProof: FString- User Proof with walletAddress and signature.chainId: int32- Chain Id to be able to use it cross-chain.
Return value:
If succeded:
If failed:
Buy NFTs
Approve ERC20 tokens to protocol
How it looks like:
NFT: FString- Object with NFT data (element of array taken from fetch functions).chainId: int32- Chain Id to be able to use it cross-chain.
Return value:
If succeded:
If failed:
Buy requested NFTs
How it looks like:
NFT: FString- Object with NFT data (element of array taken from fetch functions).chainId: int32- Chain Id to be able to use it cross-chain.
Return value:
If succeded:
If failed:
User Proof
Get User Proof
How it looks like:
Return value:
If succeded:
If failed:
Last updated