8 // POST /create-account-receiver
9 func (a *BlockchainReactor) createAccountReceiver(ctx context.Context, ins struct {
10 AccountInfo string `json:"account_info"`
11 ExpiresAt time.Time `json:"expires_at"`
13 var response interface{}
15 receiver, err := a.accounts.CreateReceiver(nil, ins.AccountInfo, ins.ExpiresAt)
25 func (a *BlockchainReactor) createAccountAddress(ctx context.Context, ins struct {
26 AccountInfo string `json:"account_info"`
27 ExpiresAt time.Time `json:"expires_at"`
29 receiver, err := a.accounts.CreateAddress(ctx, ins.AccountInfo, ins.ExpiresAt)