Reference API
Namespaces
Enumerations
- Access
- ApiRoutes
- AwardBadgeType
- Build5
- Categories
- CollectionStatus
- CollectionType
- CreditPaymentReason
- Entity
- IgnoreWalletReason
- MediaStatus
- Network
- NftAccess
- NftAvailable
- NftStatus
- ProposalType
- SoonaverseOtrAddress
- StakeRewardStatus
- StakeType
- TICKERS
- TokenDistributionType
- TokenDropStatus
- TokenPurchaseAge
- TokenStatus
- TokenTradeOrderStatus
- TokenTradeOrderType
- TransactionPayloadType
- TransactionType
- TransactionValidationType
- UnsoldMintingOptions
Classes
- AirdropDataset
- AuctionDataset
- AuctionOtrDataset
- AwardDataset
- AwardOtrDataset
- AwardOwnerSubset
- AwardParticpateSubset
- BadgesDataset
- CollectionDataset
- CollectionStatsSubset
- DatasetClass
- MemberDataset
- MemberOtrDataset
- MilestoneDataset
- MilestoneTransactionSubset
- NftDataset
- NftOtrDataset
- NotificationDataset
- Observable
- OtrWrapper
- ProjectDataset
- ProjectWrapper
- ProposalDataset
- ProposalMemberSubset
- ProposalOtrDataset
- ProposalOwnerSubset
- SpaceBlockedMemberSubset
- SpaceDataset
- SpaceGuardianSubset
- SpaceKnockingMemberSubset
- SpaceMemberSubset
- SpaceOtrDataset
- StakeDataset
- StakeRewardDataset
- StampDataset
- StamptOtrDataset
- SwapDataset
- SwapOtrDataset
- TickerDataset
- Timestamp
- TokenDataset
- TokenDistributionSubset
- TokenMarketDataset
- TokenOtrDataset
- TokenPurchaseDataset
- TokenStatsSubset
Interfaces
- AddressValidationRequest
- AddressValidationTangleRequest
- Alias
- ApiError
- ApproveProposalRequest
- ApproveProposalTangleRequest
- Auction
- AuctionBidRequest
- AuctionBidTangleRequest
- AuctionCreateRequest
- AuctionCreateTangleRequest
- AuctionCreateTangleResponse
- Award
- AwardAddOwnerRequest
- AwardApproveParticipantRequest
- AwardApproveParticipantTangleRequest
- AwardApproveParticipantTangleResponse
- AwardBadge
- AwardCancelRequest
- AwardCreateBadgeRequest
- AwardCreateRequest
- AwardCreateTangleRequest
- AwardCreateTangleResponse
- AwardFundRequest
- AwardFundTangleRequest
- AwardOwner
- AwardParticipant
- AwardParticpateRequest
- AwardRejectRequest
- Badge
- BaseRecord
- Build5Request
- CancelTokenTradeOrderRequest
- CanelPublicSaleRequest
- ClaimAirdroppedTokensRequest
- ClaimAirdroppedTokensTangleRequest
- ClaimPreMintedAirdroppedTokensRequest
- Collection
- CollectionBase
- CollectionMintRequest
- CollectionStats
- CreateAirdropsRequest
- CreateCollectionRequest
- CreateMemberRequest
- CreditTokenRequest
- CreditUnrefundableRequest
- CustomTokenRequest
- DiscountLine
- EnableTokenTradingRequest
- File
- FileUploadRequest
- FileUploadResponse
- GetAddressesRequest
- GetPriceChangeRequest
- IOTATangleTransaction
- ImportMintedTokenRequest
- Member
- MemberUpdateRequest
- Milestone
- MintMetadataNftRequest
- MintMetadataNftTangleRequest
- MintedTokenUpdateRequest
- Nft
- NftBidRequest
- NftBidTangleRequest
- NftBulkOrder
- NftCreateRequest
- NftDepositRequest
- NftMintingData
- NftPurchaseBulkRequest
- NftPurchaseBulkTangleRequest
- NftPurchaseRequest
- NftPurchaseTangleRequest
- NftSetForSaleRequest
- NftSetForSaleTangleRequest
- NftStake
- NftStakeRequest
- NftTransferRequest
- NftTransferTangleRequest
- NftUpdateUnsoldRequest
- NftWithdrawRequest
- Notification
- OrderTokenRequest
- Project
- ProjectAdmin
- ProjectCreateRequest
- ProjectCreateResponse
- ProjectDeactivateRequest
- PropStats
- Proposal
- ProposalAnswer
- ProposalCreateRequest
- ProposalCreateTangleRequest
- ProposalCreateTangleResponse
- ProposalMember
- ProposalQuestion
- ProposalSettings
- ProposalVoteRequest
- ProposalVoteTangleRequest
- ProposalVoteTangleResponse
- RankRequest
- RejectCollectionRequest
- RejectProposalRequest
- Restrictions
- SendToManyTargets
- SetTokenForSaleRequest
- Space
- SpaceClaimRequest
- SpaceCreateRequest
- SpaceCreateTangleRequest
- SpaceCreateTangleResponse
- SpaceGuardian
- SpaceGuardianUpsertTangleResponse
- SpaceJoinRequest
- SpaceJoinTangleRequest
- SpaceLeaveRequest
- SpaceLeaveTangleRequest
- SpaceMember
- SpaceMemberUpsertRequest
- SpaceMemberUpsertTangleRequest
- SpaceUpdateRequest
- Stake
- StakeReward
- StakeStat
- StampRequest
- StampTangleRequest
- StorageReturn
- SwapCreateRequest
- SwapCreateTangleRequest
- SwapRejectRequest
- SwapRejectTangleRequest
- SwapSetFundedRequest
- SwapSetFundedTangleRequest
- SystemConfig
- TangleResponse
- Ticker
- Token
- TokenAllocation
- TokenCreateRequest
- TokenDistribution
- TokenDrop
- TokenMintRequest
- TokenPurchase
- TokenStakeRequest
- TokenStakeRewardRequest
- TokenStakeRewardsRemoveRequest
- TokenStakeRewardsRequest
- TokenStakeTangleRequest
- TokenStats
- TokenTradeOrder
- TokenUpdateRequest
- TradeTokenRequest
- TradeTokenTangleRequest
- Transaction
- TransactionPayload
- UpdateCollectionRequest
- UpdateMintedCollectionRequest
- ValidatedAddress
- VerifyEthForB5TangleRequest
- VoteRequest
- WalletResult
Other
NetworkAddress
Ƭ NetworkAddress: string
Accepted networks: Ethereum, Shimmer and IOTA.
DEFAULT_NETWORK_DECIMALS
• Const
DEFAULT_NETWORK_DECIMALS: 6
Default network decimals
DEFAULT_US_BLOCKED_COUNTRIES
• Const
DEFAULT_US_BLOCKED_COUNTRIES: string
[]
Blocked countries by default.
MAX_PROPERTIES_COUNT
• Const
MAX_PROPERTIES_COUNT: 25
Max NFT properties.
MAX_STATS_COUNT
• Const
MAX_STATS_COUNT: 25
Max NFT stats.
NETWORK_DETAIL
• Const
NETWORK_DETAIL: Object
Detail of each DLT network
Type declaration
Name | Type |
---|---|
atoi | { decimals : number = 6; divideBy : number ; label : string = 'ATOI' } |
atoi.decimals | number |
atoi.divideBy | number |
atoi.label | string |
iota | { decimals : number = 6; divideBy : number ; label : string = 'IOTA' } |
iota.decimals | number |
iota.divideBy | number |
iota.label | string |
rms | { decimals : number = 6; divideBy : number ; label : string } |
rms.decimals | number |
rms.divideBy | number |
rms.label | string |
smr | { decimals : number = 6; divideBy : number ; label : string } |
smr.decimals | number |
smr.divideBy | number |
smr.label | string |
QUERY_MAX_LENGTH
• Const
QUERY_MAX_LENGTH: 100
QUERY max length
QUERY_MIN_LENGTH
• Const
QUERY_MIN_LENGTH: 1
QUERY min length
SOON_SPACE
• Const
SOON_SPACE: "0x5fcc5562385e6c2f6b0a5934280e5d11274f8e07"
Soonaverse space in production.
SOON_SPACE_TEST
• Const
SOON_SPACE_TEST: "0x0702535a8409d58d832fe80660c28dc61dee9704"
Soonaverse space in wen.soonaverse.com (sandbox)
SOON_TOKEN
• Const
SOON_TOKEN: "0x9600b5afbb84f15e0d4c0f90ea60b2b8d7bd0f1e"
Soonaverse SOON token in production.
SOON_TOKEN_TEST
• Const
SOON_TOKEN_TEST: "0x15e7e6663f3a88c0cce72a4cc3cd5c6786f0b1cf"
Soonaverse SOON token in wen.soonaverse.com (sandbox)
SoonaverseApiKey
• Const
SoonaverseApiKey: Object
Soonaverse API keys.
Index signature
▪ [key: string
]: string
TRANSACTION_AUTO_EXPIRY_MS
• Const
TRANSACTION_AUTO_EXPIRY_MS: number
Timelimit for ORDER transaction to auto-expire.
TRANSACTION_DEFAULT_AUCTION
• Const
TRANSACTION_DEFAULT_AUCTION: number
Default auction length time.
TRANSACTION_MAX_EXPIRY_MS
• Const
TRANSACTION_MAX_EXPIRY_MS: number
Maximum amount of time any funds can be hold by Soonaverse address.
WenError
• Const
WenError: Object
Object of possible error codes.
Type declaration
Name | Type |
---|---|
address_must_be_provided | { code : number = 1002; key : string = 'Address must be provided.' } |
address_must_be_provided.code | number |
address_must_be_provided.key | string |
alias_not_deposited | { code : number = 2132; key : string = 'Alias must be sent to soonaverse' } |
alias_not_deposited.code | number |
alias_not_deposited.key | string |
api_error | { code : number = 2134; key : string = "You'r query combination is not supported. Please request support through Github" } |
api_error.code | number |
api_error.key | string |
at_least_one_guardian_must_be_in_the_space | { code : number = 2011; key : string = 'At least one guardian must be in the space.' } |
at_least_one_guardian_must_be_in_the_space.code | number |
at_least_one_guardian_must_be_in_the_space.key | string |
at_least_one_member_must_be_in_the_space | { code : number = 2020; key : string = 'At least one member must be in the space.' } |
at_least_one_member_must_be_in_the_space.code | number |
at_least_one_member_must_be_in_the_space.key | string |
auction_already_in_progress | { code : number = 2067; key : string = 'Auction already in progress.' } |
auction_already_in_progress.code | number |
auction_already_in_progress.key | string |
auction_does_not_exist | { code : number = 2143; key : string = 'Auction does not exist.' } |
auction_does_not_exist.code | number |
auction_does_not_exist.key | string |
auction_not_active | { code : number = 2142; key : string = 'Auction no longer active.' } |
auction_not_active.code | number |
auction_not_active.key | string |
available_from_must_be_in_the_future | { code : number = 2112; key : string = 'Available from must be in the future' } |
available_from_must_be_in_the_future.code | number |
available_from_must_be_in_the_future.key | string |
award_does_not_exists | { code : number = 2018; key : string = 'Award does not exists.' } |
award_does_not_exists.code | number |
award_does_not_exists.key | string |
award_is_already_approved | { code : number = 2042; key : string = 'Award is already approved.' } |
award_is_already_approved.code | number |
award_is_already_approved.key | string |
award_is_already_rejected | { code : number = 2043; key : string = 'Award is already rejected.' } |
award_is_already_rejected.code | number |
award_is_already_rejected.key | string |
award_is_no_longer_available | { code : number = 2026; key : string = 'Award is not available for participation.' } |
award_is_no_longer_available.code | number |
award_is_no_longer_available.key | string |
award_is_not_approved | { code : number = 2044; key : string = 'Award is not approved.' } |
award_is_not_approved.code | number |
award_is_not_approved.key | string |
award_is_rejected | { code : number = 2045; key : string = 'Award is rejected.' } |
award_is_rejected.code | number |
award_is_rejected.key | string |
blocked_country | { code : number = 2084; key : string = 'You country is not supported for this transaction.' } |
blocked_country.code | number |
blocked_country.key | string |
can_not_block_guardian | { code : number = 2135; key : string = 'Guardians can not be blocked. Create a Remove guardian request.' } |
can_not_block_guardian.code | number |
can_not_block_guardian.key | string |
can_not_change_validated_addess | { code : number = 2129; key : string = 'Can not change validated address' } |
can_not_change_validated_addess.code | number |
can_not_change_validated_addess.key | string |
can_not_credit_transaction | { code : number = 2098; key : string = 'Can not credit this transaction' } |
can_not_credit_transaction.code | number |
can_not_credit_transaction.key | string |
can_not_mint_in_pub_sale | { code : number = 2086; key : string = 'Token can not be minted in or before public sale.' } |
can_not_mint_in_pub_sale.code | number |
can_not_mint_in_pub_sale.key | string |
collection_does_not_exists | { code : number = 2046; key : string = 'Collection does not exists.' } |
collection_does_not_exists.code | number |
collection_does_not_exists.key | string |
collection_is_already_approved | { code : number = 2062; key : string = 'Collection is already approved.' } |
collection_is_already_approved.code | number |
collection_is_already_approved.key | string |
collection_is_already_rejected | { code : number = 2063; key : string = 'Collection is already rejected.' } |
collection_is_already_rejected.code | number |
collection_is_already_rejected.key | string |
collection_is_past_available_date | { code : number = 2064; key : string = 'Collection available from date is in the past already.' } |
collection_is_past_available_date.code | number |
collection_is_past_available_date.key | string |
collection_must_be_approved | { code : number = 2058; key : string = 'Collection must be approved.' } |
collection_must_be_approved.code | number |
collection_must_be_approved.key | string |
collection_must_be_classic | { code : number = 2126; key : string = 'Must be classic collection' } |
collection_must_be_classic.code | number |
collection_must_be_classic.key | string |
collection_not_irc27_compilant | { code : number = 2115; key : string = 'Collection metedata not irc27 compilant' } |
collection_not_irc27_compilant.code | number |
collection_not_irc27_compilant.key | string |
credit_has_expired | { code : number = 2146; key : string = 'Credit has expired.' } |
credit_has_expired.code | number |
credit_has_expired.key | string |
failed_to_decode_token | { code : number = 2003; key : string = 'Failed to decode the token.' } |
failed_to_decode_token.code | number |
failed_to_decode_token.key | string |
generated_spf_nft_must_be_sold_first | { code : number = 2055; key : string = 'To buy directly Generated NFT/SFT it must be sold first.' } |
generated_spf_nft_must_be_sold_first.code | number |
generated_spf_nft_must_be_sold_first.key | string |
hidden_nft | { code : number = 2095; key : string = 'NFT can not be hidden' } |
hidden_nft.code | number |
hidden_nft.key | string |
invalid_base_token_amount | { code : number = 2109; key : string = 'Invalid base token amount.' } |
invalid_base_token_amount.code | number |
invalid_base_token_amount.key | string |
invalid_collection_id | { code : number = 2138; key : string = 'Invalid collection id.' } |
invalid_collection_id.code | number |
invalid_collection_id.key | string |
invalid_collection_status | { code : number = 2089; key : string = 'Invalid collection status.' } |
invalid_collection_status.code | number |
invalid_collection_status.key | string |
invalid_custom_token | { code : number = 2106; key : string = 'Invalid custom token.' } |
invalid_custom_token.code | number |
invalid_custom_token.key | string |
invalid_foundry | { code : number = 2149; key : string = 'Invalid foundry.' } |
invalid_foundry.code | number |
invalid_foundry.key | string |
invalid_network | { code : number = 2120; key : string = 'Invalid network.' } |
invalid_network.code | number |
invalid_network.key | string |
invalid_nft_id | { code : number = 2137; key : string = 'Invalid nft id.' } |
invalid_nft_id.code | number |
invalid_nft_id.key | string |
invalid_nft_status | { code : number = 2091; key : string = 'Invalid nft status.' } |
invalid_nft_status.code | number |
invalid_nft_status.key | string |
invalid_params | { code : number = 1001; key : string = 'Invalid params' } |
invalid_params.code | number |
invalid_params.key | string |
invalid_project_api_key | { code : number = 2140; key : string = 'Invalid project api key.' } |
invalid_project_api_key.code | number |
invalid_project_api_key.key | string |
invalid_route | { code : number = 2100; key : string = 'Invalid route' } |
invalid_route.code | number |
invalid_route.key | string |
invalid_signature | { code : number = 1003; key : string = 'Invalid signature.' } |
invalid_signature.code | number |
invalid_signature.key | string |
invalid_swap_uid | { code : number = 2150; key : string = 'Invalid swap uid.' } |
invalid_swap_uid.code | number |
invalid_swap_uid.key | string |
invalid_tangle_request_type | { code : number = 2110; key : string } |
invalid_tangle_request_type.code | number |
invalid_tangle_request_type.key | string |
invalid_target_address | { code : number = 2141; key : string = 'Invalid target address.' } |
invalid_target_address.code | number |
invalid_target_address.key | string |
invalid_wallet_address | { code : number = 2002; key : string = 'Invalid wallet address.' } |
invalid_wallet_address.code | number |
invalid_wallet_address.key | string |
ipfs_retrieve | { code : number = 2117; key : string = 'Could not get data from ipfs' } |
ipfs_retrieve.code | number |
ipfs_retrieve.key | string |
legacy_award | { code : number = 2121; key : string = 'Legacy awards will be funded by soonaverse.' } |
legacy_award.code | number |
legacy_award.key | string |
max_10_fields | { code : number = 2131; key : string = 'A field name can appear maximum 10 times' } |
max_10_fields.code | number |
max_10_fields.key | string |
max_8_unique_field_names | { code : number = 2130; key : string = 'Maximum 8 unique field names are allowed' } |
max_8_unique_field_names.code | number |
max_8_unique_field_names.key | string |
max_size | { code : number = 2118; key : string = 'Maximum media size is 100 MB' } |
max_size.code | number |
max_size.key | string |
member_already_have_validated_address | { code : number = 2050; key : string = 'Member already have validated address.' } |
member_already_have_validated_address.code | number |
member_already_have_validated_address.key | string |
member_already_knocking | { code : number = 2097; key : string = 'Member already asking to join space' } |
member_already_knocking.code | number |
member_already_knocking.key | string |
member_did_not_request_to_join | { code : number = 2036; key : string = 'Member did not request to join.' } |
member_did_not_request_to_join.code | number |
member_did_not_request_to_join.key | string |
member_does_not_exists | { code : number = 2027; key : string = 'Member does not exists.' } |
member_does_not_exists.code | number |
member_does_not_exists.key | string |
member_is_already_blocked | { code : number = 2015; key : string = 'Member is already blocked.' } |
member_is_already_blocked.code | number |
member_is_already_blocked.key | string |
member_is_already_guardian_of_space | { code : number = 2013; key : string = 'Member is already guardian of space.' } |
member_is_already_guardian_of_space.code | number |
member_is_already_guardian_of_space.key | string |
member_is_already_owner_of_space | { code : number = 2019; key : string = 'Member is already owner of space.' } |
member_is_already_owner_of_space.code | number |
member_is_already_owner_of_space.key | string |
member_is_already_participant_of_space | { code : number = 2020; key : string = 'Member is already participant of space.' } |
member_is_already_participant_of_space.code | number |
member_is_already_participant_of_space.key | string |
member_is_not_blocked_in_the_space | { code : number = 2016; key : string = 'Member is not blocked in the space.' } |
member_is_not_blocked_in_the_space.code | number |
member_is_not_blocked_in_the_space.key | string |
member_is_not_guardian_of_space | { code : number = 2014; key : string = 'Member is not guardian of space.' } |
member_is_not_guardian_of_space.code | number |
member_is_not_guardian_of_space.key | string |
member_is_not_part_of_the_space | { code : number = 2012; key : string = 'Member is not part of the space.' } |
member_is_not_part_of_the_space.code | number |
member_is_not_part_of_the_space.key | string |
member_must_have_validated_address | { code : number = 2053; key : string = 'Member must have validated address.' } |
member_must_have_validated_address.code | number |
member_must_have_validated_address.key | string |
member_username_exists | { code : number = 2004; key : string = 'Username already exists.' } |
member_username_exists.code | number |
member_username_exists.key | string |
missing_nonce | { code : number = 1004; key : string = 'Missing nonce.' } |
missing_nonce.code | number |
missing_nonce.key | string |
multiple_members_with_same_address | { code : number = 2108; key : string = 'Multiple member with same validated address.' } |
multiple_members_with_same_address.code | number |
multiple_members_with_same_address.key | string |
nft_already_sold | { code : number = 2096; key : string = 'NFT already sold' } |
nft_already_sold.code | number |
nft_already_sold.key | string |
nft_date_must_be_after_or_same_with_collection_available_from_date | { code : number = 2065; key : string = 'Collection available from date is after NFT available from date.' } |
nft_date_must_be_after_or_same_with_collection_available_from_date.code | number |
nft_date_must_be_after_or_same_with_collection_available_from_date.key | string |
nft_does_not_belong_to_collection | { code : number = 2136; key : string = 'NFT does not belong to selected collection.' } |
nft_does_not_belong_to_collection.code | number |
nft_does_not_belong_to_collection.key | string |
nft_does_not_exists | { code : number = 2038; key : string = 'NFT does not exists.' } |
nft_does_not_exists.code | number |
nft_does_not_exists.key | string |
nft_is_no_longer_available | { code : number = 2039; key : string = 'NFT is no longer available.' } |
nft_is_no_longer_available.code | number |
nft_is_no_longer_available.key | string |
nft_locked_for_sale | { code : number = 2051; key : string = 'NFT is currently locked.' } |
nft_locked_for_sale.code | number |
nft_locked_for_sale.key | string |
nft_not_available_for_sale | { code : number = 2048; key : string = 'NFT is not available for sale.' } |
nft_not_available_for_sale.code | number |
nft_not_available_for_sale.key | string |
nft_not_deposited | { code : number = 2133; key : string = 'NFT must be sent to soonaverse' } |
nft_not_deposited.code | number |
nft_not_deposited.key | string |
nft_not_irc27_compilant | { code : number = 2114; key : string = 'NFT metadata not irc27 compilant' } |
nft_not_irc27_compilant.code | number |
nft_not_irc27_compilant.key | string |
nft_not_minted | { code : number = 2090; key : string = 'NFT not minted.' } |
nft_not_minted.code | number |
nft_not_minted.key | string |
nft_on_sale | { code : number = 2092; key : string = 'NFT is on sale.' } |
nft_on_sale.code | number |
nft_on_sale.key | string |
nft_placeholder_cant_be_purchased | { code : number = 2056; key : string = "Can't buy placeholder NFT." } |
nft_placeholder_cant_be_purchased.code | number |
nft_placeholder_cant_be_purchased.key | string |
nft_placeholder_cant_be_updated | { code : number = 2068; key : string = "Can't update placeholder NFT." } |
nft_placeholder_cant_be_updated.code | number |
nft_placeholder_cant_be_updated.key | string |
nft_set_as_avatar | { code : number = 2127; key : string = 'NFT is set as avatar' } |
nft_set_as_avatar.code | number |
nft_set_as_avatar.key | string |
nfts_must_be_within_same_network | { code : number = 2148; key : string = 'Nfts must be within same network.' } |
nfts_must_be_within_same_network.code | number |
nfts_must_be_within_same_network.key | string |
no_active_sells | { code : number = 2147; key : string = 'No active sell orders.' } |
no_active_sells.code | number |
no_active_sells.key | string |
no_airdrop_to_claim | { code : number = 2079; key : string = 'No airdrop to claim.' } |
no_airdrop_to_claim.code | number |
no_airdrop_to_claim.key | string |
no_available_tokens_for_sale | { code : number = 2081; key : string = 'No available tokens for sale.' } |
no_available_tokens_for_sale.code | number |
no_available_tokens_for_sale.key | string |
no_ipfs_media | { code : number = 2094; key : string = 'NFT does not have ipfs media' } |
no_ipfs_media.code | number |
no_ipfs_media.key | string |
no_more_available_badges | { code : number = 2021; key : string = 'There is no more available badges.' } |
no_more_available_badges.code | number |
no_more_available_badges.key | string |
no_more_nft_available_for_sale | { code : number = 2057; key : string = 'No more NFT available for sale.' } |
no_more_nft_available_for_sale.code | number |
no_more_nft_available_for_sale.key | string |
no_nfts_to_mint | { code : number = 2093; key : string = 'No nfts to mint in the collection.' } |
no_nfts_to_mint.code | number |
no_nfts_to_mint.key | string |
no_staked_soon | { code : number = 2101; key : string = 'Member has no staked SOONs' } |
no_staked_soon.code | number |
no_staked_soon.key | string |
no_token_public_sale | { code : number = 2075; key : string = 'Token not on public sale.' } |
no_token_public_sale.code | number |
no_token_public_sale.key | string |
no_tokens_available_for_airdrop | { code : number = 2078; key : string = 'No more tokens are available for airdrop.' } |
no_tokens_available_for_airdrop.code | number |
no_tokens_available_for_airdrop.key | string |
no_tokens_to_claim | { code : number = 2087; key : string = 'No tokens to claim.' } |
no_tokens_to_claim.code | number |
no_tokens_to_claim.key | string |
not_alias_governor | { code : number = 2122; key : string = 'Your are not the governor of the alias.' } |
not_alias_governor.code | number |
not_alias_governor.key | string |
not_enough_base_token | { code : number = 2119; key : string = 'Not enough base token.' } |
not_enough_base_token.code | number |
not_enough_base_token.key | string |
not_enough_funds | { code : number = 2076; key : string = 'Not enough funds to credit' } |
not_enough_funds.code | number |
not_enough_funds.key | string |
not_enough_staked_tokens | { code : number = 2104; key : string = 'Member has not enough staked tokens' } |
not_enough_staked_tokens.code | number |
not_enough_staked_tokens.key | string |
not_swap_owner | { code : number = 2151; key : string = 'You are not the creator of this swap.' } |
not_swap_owner.code | number |
not_swap_owner.key | string |
ntt_does_not_exists | { code : number = 2040; key : string = 'NTT does not exists.' } |
ntt_does_not_exists.code | number |
ntt_does_not_exists.key | string |
ntt_is_no_longer_available | { code : number = 2041; key : string = 'NTT is no longer available.' } |
ntt_is_no_longer_available.code | number |
ntt_is_no_longer_available.key | string |
ongoing_proposal | { code : number = 2107; key : string = 'Ongoing proposal in place already.' } |
ongoing_proposal.code | number |
ongoing_proposal.key | string |
owner_does_not_have_verified_address | { code : number = 2047; key : string = 'Owner must have verified address to be paid.' } |
owner_does_not_have_verified_address.code | number |
owner_does_not_have_verified_address.key | string |
proposal_does_not_exists | { code : number = 2022; key : string = 'Proposal does not exist.' } |
proposal_does_not_exists.code | number |
proposal_does_not_exists.key | string |
proposal_is_already_approved | { code : number = 2024; key : string = 'Proposal is already approved.' } |
proposal_is_already_approved.code | number |
proposal_is_already_approved.key | string |
proposal_is_already_rejected | { code : number = 2025; key : string = 'Proposal is already rejected.' } |
proposal_is_already_rejected.code | number |
proposal_is_already_rejected.key | string |
proposal_is_not_approved | { code : number = 2030; key : string = 'Proposal is not approved.' } |
proposal_is_not_approved.code | number |
proposal_is_not_approved.key | string |
proposal_is_rejected | { code : number = 2031; key : string = 'Proposal is rejected.' } |
proposal_is_rejected.code | number |
proposal_is_rejected.key | string |
proposal_must_be_in_future | { code : number = 2033; key : string = 'Proposal must be in future.' } |
proposal_must_be_in_future.code | number |
proposal_must_be_in_future.key | string |
proposal_start_date_must_be_before_end_date | { code : number = 2034; key : string = 'Proposal startDate must be before endDate.' } |
proposal_start_date_must_be_before_end_date.code | number |
proposal_start_date_must_be_before_end_date.key | string |
public_sale_already_set | { code : number = 2080; key : string = 'Public sale already set.' } |
public_sale_already_set.code | number |
public_sale_already_set.key | string |
royalty_fees_can_only_be_reduced | { code : number = 2072; key : string = 'Royalty fees can only be reduced.' } |
royalty_fees_can_only_be_reduced.code | number |
royalty_fees_can_only_be_reduced.key | string |
royalty_payout_must_be_above_1_mi | { code : number = 2046; key : string = 'Royalty payout must be above 1 Mi.' } |
royalty_payout_must_be_above_1_mi.code | number |
royalty_payout_must_be_above_1_mi.key | string |
signature_must_be_provided | { code : number = 1003; key : string = 'Signature must be provided.' } |
signature_must_be_provided.code | number |
signature_must_be_provided.key | string |
signature_or_custom_token_must_be_provided | { code : number = 2105; key : string = 'Signature or custom Token must be provided.' } |
signature_or_custom_token_must_be_provided.code | number |
signature_or_custom_token_must_be_provided.key | string |
space_already_have_validated_address | { code : number = 2049; key : string = 'Space already have validated address.' } |
space_already_have_validated_address.code | number |
space_already_have_validated_address.key | string |
space_does_not_exists | { code : number = 2005; key : string = 'Space does not exists.' } |
space_does_not_exists.code | number |
space_does_not_exists.key | string |
space_must_have_validated_address | { code : number = 2052; key : string = "Space must have validated IOTA or selected network's address (if collection that includes Royalty space)." } |
space_must_have_validated_address.code | number |
space_must_have_validated_address.key | string |
space_not_claimable | { code : number = 2113; key : string = 'Space not claimable' } |
space_not_claimable.code | number |
space_not_claimable.key | string |
stake_reward_started | { code : number = 2128; key : string = 'Stake reward already started' } |
stake_reward_started.code | number |
stake_reward_started.key | string |
swap_already_fulfilled | { code : number = 2153; key : string = 'Swap is already fulfilled.' } |
swap_already_fulfilled.code | number |
swap_already_fulfilled.key | string |
swap_already_rejected | { code : number = 2154; key : string = 'Swap is already rejected.' } |
swap_already_rejected.code | number |
swap_already_rejected.key | string |
swap_must_be_funded | { code : number = 2152; key : string = "You must send assets to the swap's address." } |
swap_must_be_funded.code | number |
swap_must_be_funded.key | string |
this_is_limited_addition_collection | { code : number = 2071; key : string = 'Collection is limited edition. No NFT can be added after approval.' } |
this_is_limited_addition_collection.code | number |
this_is_limited_addition_collection.key | string |
token_already_exists_for_space | { code : number = 2073; key : string = 'Only one token is allowed per space.' } |
token_already_exists_for_space.code | number |
token_already_exists_for_space.key | string |
token_based_space_access_can_not_be_edited | { code : number = 2103; key : string = 'Token based space access can not be edited' } |
token_based_space_access_can_not_be_edited.code | number |
token_based_space_access_can_not_be_edited.key | string |
token_does_not_exist | { code : number = 2102; key : string = 'Token does not exist' } |
token_does_not_exist.code | number |
token_does_not_exist.key | string |
token_in_invalid_status | { code : number = 2085; key : string = 'Token in invalid status.' } |
token_in_invalid_status.code | number |
token_in_invalid_status.key | string |
token_must_be_public | { code : number = 2124; key : string = 'Token must be public. Complete KYC.' } |
token_must_be_public.code | number |
token_must_be_public.key | string |
token_must_have_space | { code : number = 2145; key : string = 'Token must have a space.' } |
token_must_have_space.code | number |
token_must_have_space.key | string |
token_not_approved | { code : number = 2083; key : string = 'Token not approved.' } |
token_not_approved.code | number |
token_not_approved.key | string |
token_not_in_cool_down_period | { code : number = 2077; key : string = 'Token not in cool down period.' } |
token_not_in_cool_down_period.code | number |
token_not_in_cool_down_period.key | string |
token_not_irc30_compilant | { code : number = 2123; key : string = 'Token metedata not irc30 compilant' } |
token_not_irc30_compilant.code | number |
token_not_irc30_compilant.key | string |
token_not_minted | { code : number = 2088; key : string = 'Token is not minted.' } |
token_not_minted.code | number |
token_not_minted.key | string |
token_not_pre_minted | { code : number = 2082; key : string = 'Token not pre-minted.' } |
token_not_pre_minted.code | number |
token_not_pre_minted.key | string |
token_symbol_must_be_globally_unique | { code : number = 2074; key : string = 'Token symbol must be globally unique.' } |
token_symbol_must_be_globally_unique.code | number |
token_symbol_must_be_globally_unique.key | string |
token_trading_disabled | { code : number = 2111; key : string = 'Trading for this token is disabled' } |
token_trading_disabled.code | number |
token_trading_disabled.key | string |
transaction_already_confirmed | { code : number = 2099; key : string = 'Transaction already confirmed' } |
transaction_already_confirmed.code | number |
transaction_already_confirmed.key | string |
unapproved_site | { code : number = 1005; key : string = 'Site is not approved to interact.' } |
unapproved_site.code | number |
unapproved_site.key | string |
unknown | { code : number = 1000; key : string = 'Unknown error' } |
unknown.code | number |
unknown.key | string |
url_not_img_or_video | { code : number = 2125; key : string = 'Url does not point to an image or video' } |
url_not_img_or_video.code | number |
url_not_img_or_video.key | string |
value_does_not_exists_in_proposal | { code : number = 2032; key : string = 'Value does not exists in proposal.' } |
value_does_not_exists_in_proposal.code | number |
value_does_not_exists_in_proposal.key | string |
vote_is_no_longer_active | { code : number = 2037; key : string = 'Vote is no longer active.' } |
vote_is_no_longer_active.code | number |
vote_is_no_longer_active.key | string |
you_are_already_part_of_space | { code : number = 2007; key : string = 'You are already part of the space.' } |
you_are_already_part_of_space.code | number |
you_are_already_part_of_space.key | string |
you_are_not_admin_of_project | { code : number = 2139; key : string = 'You are not an admin of the project.' } |
you_are_not_admin_of_project.code | number |
you_are_not_admin_of_project.key | string |
you_are_not_allowed_member_to_purchase_this_nft | { code : number = 2070; key : string = 'You are not allowed to purchase this NFT as it is reserved for another user.' } |
you_are_not_allowed_member_to_purchase_this_nft.code | number |
you_are_not_allowed_member_to_purchase_this_nft.key | string |
you_are_not_allowed_to_join_space | { code : number = 2008; key : string = 'You are are not allowed to join space.' } |
you_are_not_allowed_to_join_space.code | number |
you_are_not_allowed_to_join_space.key | string |
you_are_not_allowed_to_vote_on_this_proposal | { code : number = 2029; key : string = 'You are not allowed to vote on this proposal.' } |
you_are_not_allowed_to_vote_on_this_proposal.code | number |
you_are_not_allowed_to_vote_on_this_proposal.key | string |
you_are_not_guardian_of_space | { code : number = 2006; key : string = 'You are not a guardian of the space.' } |
you_are_not_guardian_of_space.code | number |
you_are_not_guardian_of_space.key | string |
you_are_not_owner_of_proposal | { code : number = 2023; key : string = 'You are not an owner of the proposal.' } |
you_are_not_owner_of_proposal.code | number |
you_are_not_owner_of_proposal.key | string |
you_are_not_owner_of_the_award | { code : number = 2017; key : string = 'You are not an owner of the space.' } |
you_are_not_owner_of_the_award.code | number |
you_are_not_owner_of_the_award.key | string |
you_are_not_part_of_space | { code : number = 2006; key : string = 'You are not part of the space.' } |
you_are_not_part_of_space.code | number |
you_are_not_part_of_space.key | string |
you_are_not_part_of_the_space | { code : number = 2009; key : string = 'You are not part of the space.' } |
you_are_not_part_of_the_space.code | number |
you_are_not_part_of_the_space.key | string |
you_can_only_own_one_nft_from_collection | { code : number = 2061; key : string = 'You can only own one NFT from the collection.' } |
you_can_only_own_one_nft_from_collection.code | number |
you_can_only_own_one_nft_from_collection.key | string |
you_can_only_vote_on_members_proposal | { code : number = 2028; key : string = 'You can only vote on members proposal.' } |
you_can_only_vote_on_members_proposal.code | number |
you_can_only_vote_on_members_proposal.key | string |
you_cant_buy_your_nft | { code : number = 2069; key : string = 'You already own this NFT!' } |
you_cant_buy_your_nft.code | number |
you_cant_buy_your_nft.key | string |
you_dont_have_required_NFTs | { code : number = 2062; key : string = "You don't have required NFTs." } |
you_dont_have_required_NFTs.code | number |
you_dont_have_required_NFTs.key | string |
you_dont_have_required_badge | { code : number = 2059; key : string = "You don't have required badge." } |
you_dont_have_required_badge.code | number |
you_dont_have_required_badge.key | string |
you_have_currently_another_order_in_progress | { code : number = 2061; key : string = 'You have currently another order in progress.' } |
you_have_currently_another_order_in_progress.code | number |
you_have_currently_another_order_in_progress.key | string |
you_must_be_the_creator_of_this_collection | { code : number = 2060; key : string = 'You must be the creator of this collection.' } |
you_must_be_the_creator_of_this_collection.code | number |
you_must_be_the_creator_of_this_collection.key | string |
you_must_be_the_creator_of_this_token | { code : number = 2144; key : string = 'You must be the creator of this token.' } |
you_must_be_the_creator_of_this_token.code | number |
you_must_be_the_creator_of_this_token.key | string |
you_must_be_the_owner_of_nft | { code : number = 2066; key : string = 'You must be the owner of NFT.' } |
you_must_be_the_owner_of_nft.code | number |
you_must_be_the_owner_of_nft.key | string |
getNetworkPair
▸ getNetworkPair(network
): Network
Function to get the pair of a DLT network
Parameters
Name | Type |
---|---|
network | Network |
Returns
isOnline
▸ isOnline(): Promise
<void
>
Promise based function to provide online status.
Returns
Promise
<void
>
toQueryParams
▸ toQueryParams(params
): string
Convert object into query params
Parameters
Name | Type |
---|---|
params | Record <string , unknown > |
Returns
string
wrappedFetch
▸ wrappedFetch<T
>(token
, url
, params
): Promise
<T
>
Wrapped fetch function to inject bearer and process responses
Type parameters
Name |
---|
T |
Parameters
Name | Type |
---|---|
token | string |
url | string |
params | Record <string , unknown > |
Returns
Promise
<T
>