Documentation ¶
Index ¶
- type BurnPayload
- type Client
- func (c *Client) GetJettonData(ctx context.Context) (*Data, error)
- func (c *Client) GetJettonDataAtBlock(ctx context.Context, b *ton.BlockIDExt) (*Data, error)
- func (c *Client) GetJettonWallet(ctx context.Context, ownerAddr *address.Address) (*WalletClient, error)
- func (c *Client) GetJettonWalletAtBlock(ctx context.Context, ownerAddr *address.Address, b *ton.BlockIDExt) (*WalletClient, error)
- type Data
- type MintPayload
- type TonApi
- type TransferPayload
- type WalletClient
- func (c *WalletClient) Address() *address.Address
- func (c *WalletClient) BuildBurnPayload(amountCoins tlb.Coins, notifyAddr *address.Address) (*cell.Cell, error)
- func (c *WalletClient) BuildTransferPayload(to *address.Address, amountCoins, amountForwardTON tlb.Coins, ...) (*cell.Cell, error)
- func (c *WalletClient) GetBalance(ctx context.Context) (tlb.Coins, error)
- func (c *WalletClient) GetBalanceAtBlock(ctx context.Context, b *ton.BlockIDExt) (tlb.Coins, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BurnPayload ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewJettonMasterClient ¶
func (*Client) GetJettonDataAtBlock ¶
func (*Client) GetJettonWallet ¶
func (*Client) GetJettonWalletAtBlock ¶
func (c *Client) GetJettonWalletAtBlock(ctx context.Context, ownerAddr *address.Address, b *ton.BlockIDExt) (*WalletClient, error)
type MintPayload ¶
type TransferPayload ¶
type TransferPayload struct { QueryID uint64 `tlb:"## 64"` Amount tlb.Coins `tlb:"."` Destination *address.Address `tlb:"addr"` ResponseDestination *address.Address `tlb:"addr"` CustomPayload *cell.Cell `tlb:"maybe ^"` ForwardTONAmount tlb.Coins `tlb:"."` ForwardPayload *cell.Cell `tlb:"either . ^"` // contains filtered or unexported fields }
type WalletClient ¶
type WalletClient struct {
// contains filtered or unexported fields
}
func (*WalletClient) Address ¶
func (c *WalletClient) Address() *address.Address
func (*WalletClient) BuildBurnPayload ¶
func (*WalletClient) BuildTransferPayload ¶
func (*WalletClient) GetBalance ¶
func (*WalletClient) GetBalanceAtBlock ¶
func (c *WalletClient) GetBalanceAtBlock(ctx context.Context, b *ton.BlockIDExt) (tlb.Coins, error)
Click to show internal directories.
Click to hide internal directories.