yml is described as follows
application:
address:
"0xb7716e1f5690a841d698dd64ae13727bf719b2cd": "4"
"0x0f020200ad0729f19be98ddb26685d80359428b7": "5"
by injecting
into the springboot project import org.springframework.core.env.Environment;
@Autowired
Environment environment;
Map<String,String> maps = environment.getProperty("application.address",Map.class);
it is fetched through environment in the method. If it returns null, what should I do?