// Returns a list of block hashes which have not
// yet been received by these accounts.
// If threshold is not empty, returns a list of pending
// block hashes with amount more or equal to threshold (>= v8.0).
// If source is not empty, returns a list of pending
// block hashes with amount and source accounts (>= v8.1).
Returns a list of block hashes which have not
yet been received by these accounts.
If threshold is not empty, returns a list of pending
block hashes with amount more or equal to threshold (>= v8.0).
If source is not empty, returns a list of pending
block hashes with amount and source accounts (>= v8.1).
// Returns a list of block hashes which have not // yet been received by these accounts . // If threshold is not empty returns a list of pending // block hashes with amount more or equal to threshold ( > = v8 . 0 ) . // If source is not empty returns a list of pending // block hashes with amount and source accounts ( > = v8 . 1 ) .
func AccountsPending(accounts []string, count int, threshold, source string) (map[string]interface{}, error) {
	payload := map[string]interface{}{
		"accounts": accounts,
		"count":    count,
	}
	if threshold != "" {
		payload["threshold"] = threshold
	}
	if source != "" {
		payload["source"] = source
	}
	return client.fetchMapInterface("accounts_pending", payload, "blocks")
}
func AccountsPending ( accounts [ ] string , count int , threshold , source string ) ( map [ string ] interface { } , error ) { payload := map [ string ] interface { } { " " : accounts , " " : count , } if threshold != " " { payload [ " " ] = threshold } if source != " " { payload [ " " ] = source } return client . fetchMapInterface ( " " , payload , " " ) }
Returns a list of block hashes which have not
yet been received by these accounts.
Returns a list of block hashes which have not yet been received by these accounts .