# Mintage

创建 Mintage 模块对象

func NewMintageApi(c *rpc.Client) *MintageApi

# GetMintageBlock

根据铸币参数返回铸币合约的数据

func (m *MintageApi) GetMintageBlock(param *api.MintageParams) (*types.StateBlock, error)

# GetMintageData

根据铸币参数返回 ContractSend 区块

func (m *MintageApi) GetMintageData(param *api.MintageParams) ([]byte, error)

# GetRewardBlock

根据 ContractSend 区块返回 ContractReward 区块

func (m *MintageApi) GetRewardBlock(input *types.StateBlock) (*types.StateBlock, error)

# GetWithdrawMintageData

根据 token id 返回提取铸币合约抵押的数据

func (m *MintageApi) GetWithdrawMintageData(tokenId types.Hash) ([]byte, error)