Calls
reclaimBlockedNfts
Withdraw blocked tokens, must be called by the destination defined inBlockedTokens
Namespace
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
BlockedTokens
Namespace
api.tx.nftPeg.reclaimBlockedNfts
function reclaimBlockedNfts(
blocked_mint_id: u32,
destination: H160
)
api.tx.nftPeg.setContractAddress
function setContractAddress(
contract: H160
)
api.tx.nftPeg.withdraw
function withdraw(
collection_ids: Vec<u32>,
serial_numbers: Vec<Vec<u32>>,
destination: H160
)
api.query.nftPeg.blockedTokens
function blockedTokens(
u32
): Option<PalletNftPegBlockedTokenInfo>
api.query.nftPeg.contractAddress
function contractAddress(
): H160
api.query.nftPeg.ethToRootNft
function ethToRootNft(
H160
): Option<u32>
api.query.nftPeg.nextBlockedMintId
function nextBlockedMintId(
): u32
api.query.nftPeg.rootNftToErc721
function rootNftToErc721(
u32
): Option<H160>
api.events.nftPeg.ContractAddressSet
type ContractAddressSet = {
contract: H160
}
api.events.nftPeg.ERC721Blocked
type ERC721Blocked = {
blocked_mint_id: u32,
destination_address: SeedPrimitivesSignatureAccountId20,
collection_id: u32,
serial_numbers: Vec<u32>
}
api.events.nftPeg.Erc721Deposit
type Erc721Deposit = {
destination: SeedPrimitivesSignatureAccountId20
}
api.events.nftPeg.Erc721Mint
type Erc721Mint = {
collection_id: u32,
serial_numbers: Vec<u32>,
owner: SeedPrimitivesSignatureAccountId20
}
api.events.nftPeg.Erc721Withdraw
type Erc721Withdraw = {
origin: SeedPrimitivesSignatureAccountId20,
collection_ids: Vec<u32>,
serial_numbers: Vec<Vec<u32>>,
destination: H160
}
api.errors.nftPeg.ExceedsMaxAddresses
api.errors.nftPeg.ExceedsMaxTokens
api.errors.nftPeg.ExceedsMaxVecLength
api.errors.nftPeg.InvalidAbiEncoding
api.errors.nftPeg.InvalidAbiPrefix
api.errors.nftPeg.NoBlockedTokensFound
api.errors.nftPeg.NoCollectionFound
api.errors.nftPeg.NoMappedTokenExists
api.errors.nftPeg.NoPermissionToBridge
api.errors.nftPeg.NotBlockedTokenDestination
api.errors.nftPeg.StateSyncDisabled
api.errors.nftPeg.TokenListLengthMismatch
api.consts.nftPeg.delayLength
type delayLength = u32
Was this page helpful?