Documentation ¶
Index ¶
- type CollectibleClient
- type EthereumClient
- type Platform
- func (p *Platform) Coin() coin.Coin
- func (p *Platform) CurrentBlockNumber() (int64, error)
- func (p *Platform) GetBlockByNumber(num int64) (*types.Block, error)
- func (p *Platform) GetCollectibles(owner, collectionID string) (types.CollectiblePage, error)
- func (p *Platform) GetCollections(owner string) (types.CollectionPage, error)
- func (p *Platform) GetTokenListByAddress(address string) ([]types.Token, error)
- func (p *Platform) GetTokenListIdsByAddress(address string) ([]string, error)
- func (p *Platform) GetTokenTxsByAddress(address string, token string) (types.Txs, error)
- func (p *Platform) GetTxsByAddress(address string) (types.Txs, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CollectibleClient ¶
type CollectibleClient interface { GetCollections(owner string, coinIndex uint) (types.CollectionPage, error) GetCollectibles(owner, collectionID string, coinIndex uint) (types.CollectiblePage, error) }
type EthereumClient ¶
type EthereumClient interface { GetTransactions(address string, coinIndex uint) (types.Txs, error) GetTokenTxs(address, token string, coinIndex uint) (types.Txs, error) GetTokenList(address string, coinIndex uint) ([]types.Token, error) GetCurrentBlockNumber() (int64, error) GetBlockByNumber(num int64, coinIndex uint) (*types.Block, error) }
type Platform ¶
type Platform struct { CoinIndex uint // contains filtered or unexported fields }
func InitWithBlockbook ¶
func InitWithBounce ¶
func InitWithOpenSea ¶
func (*Platform) CurrentBlockNumber ¶
func (*Platform) GetBlockByNumber ¶
func (*Platform) GetCollectibles ¶
func (p *Platform) GetCollectibles(owner, collectionID string) (types.CollectiblePage, error)
func (*Platform) GetCollections ¶
func (p *Platform) GetCollections(owner string) (types.CollectionPage, error)
func (*Platform) GetTokenListByAddress ¶
func (*Platform) GetTokenListIdsByAddress ¶
func (*Platform) GetTokenTxsByAddress ¶
Click to show internal directories.
Click to hide internal directories.