stack

Home > @infiniteobjects/eth-tokens-service > AlchemyService

AlchemyService class

Alchemy API service

Signature:

export declare class AlchemyService implements IEthTokensService 

Implements: IEthTokensService

Constructors

Constructor Modifiers Description
(constructor)()   Constructs a new instance of the AlchemyService class

Methods

Method Modifiers Description
findAssetByTokenId(contract, tokenId, owner)   Gets an EthAssetToken for a token at a given contract address and tokenId. Optional owner can be passed. The owner is used to fill out EthAssetToken.owner information. If it is not passed this will always be and empty IProfile with NULL_ADDRESS.
findAssetsByWallet(wallet, sort)   Retrieve the tokens owned by the given address
findCreatorByTokenId(contract, tokenId)   Gets the contract deployer wallet for a contract
findOwnerByTokenId(contract, tokenId)    
getProvider()   Get Alchemy ETH provider.