Compare commits
	
		
			3 Commits
		
	
	
		
			cd28fd0b5e
			...
			ee649dc79e
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| ee649dc79e | |||
| 30504b81e2 | |||
| ef10348852 | 
							
								
								
									
										6
									
								
								config/config.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								config/config.go
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,6 @@
 | 
			
		||||
package config
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
//We define our endpoints here?
 | 
			
		||||
							
								
								
									
										20
									
								
								internal/models/accountresponse.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								internal/models/accountresponse.go
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,20 @@
 | 
			
		||||
package models
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	"encoding/json"
 | 
			
		||||
	"time"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
type trackStatusResponse struct {
 | 
			
		||||
	Ok     bool `json:"ok"`
 | 
			
		||||
	Result struct {
 | 
			
		||||
		Transaction struct {
 | 
			
		||||
			CreatedAt     time.Time   `json:"createdAt"`
 | 
			
		||||
			Status        string      `json:"status"`
 | 
			
		||||
			TransferValue json.Number `json:"transferValue"`
 | 
			
		||||
			TxHash        string      `json:"txHash"`
 | 
			
		||||
			TxType        string      `json:"txType"`
 | 
			
		||||
		}
 | 
			
		||||
	} `json:"result"`
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										4
									
								
								internal/server/handlers/balancecheck.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								internal/server/handlers/balancecheck.go
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,4 @@
 | 
			
		||||
package handlers
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user